Takaro - v0.4.11
    Preparing search index...

    Function negate

    • Creates a function that negates the result of the predicate func. The func predicate is invoked with the this binding and arguments of the created function.

      Type Parameters

      • T extends any[]

      Parameters

      • predicate: (...args: T) => boolean

        The predicate to negate.

      Returns (...args: T) => boolean

      Returns the new function.