import { createErrorReporter } from "./error-reporter" ; import { createVal } from "./val" ; param { function } input return { function } export const createNot = ctx => function not ( input ) { return function notFn ( a , msg ? ) { return createErrorReporter ( "not" , ctx , msg , [ input , a ] ) ( ( ) => { return ! createVal ( ctx ) ( input ) ( a ) ; } ) ; } ; } ;