• Returns a predicate function that negates the return value of fn. Same as !fn(x).

    Type Parameters

    • T

    Parameters

    Returns ((x) => boolean)

      • (x): boolean
      • Parameters

        • x: T

        Returns boolean

    Example

    isEven(3)
    // => false

    not(isEven)(3)
    // => true

Generated using TypeDoc