Note that this does not act on a boolean value. Rather, it wraps a function with a boolean return value so that it returns the complement of what the wrapped function would.
import * as L from "flurp/logic";const notFive = L.not(L.equals(5));notFive(5); // falsenotFive(4); // true
must return a boolean
Rest
Remarks
Note that this does not act on a boolean value. Rather, it wraps a function with a boolean return value so that it returns the complement of what the wrapped function would.
Example