complement
Returns a function that is the logical complement of the given function, fn.
- Use the logical not (
!) operator on the result of callingfnwith any suppliedargs.
Returns a function that is the logical complement of the given function, fn.
!) operator on the result of calling fn with any supplied args.