Takaro - v0.4.11
    Preparing search index...

    Function overEvery

    • Creates a function that checks if all of the predicates return truthy when invoked with the arguments provided to the created function.

      Type Parameters

      • T
      • Result1
      • Result2

      Parameters

      • ...predicates: [(arg: T) => arg is Result1, (arg: T) => arg is Result2]

        The predicates to check.

      Returns (arg: T) => arg is Result1 & Result2

      Returns the new function.

    • Type Parameters

      • T

      Parameters

      • ...predicates: Many<(...args: T[]) => boolean>[]

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