• 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

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

      The predicates to check.

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

    Returns the new function.

      • (arg): arg is Result1 & Result2
      • Creates a function that checks if all of the predicates return truthy when invoked with the arguments provided to the created function.

        Parameters

        • arg: T

        Returns arg is Result1 & Result2

        Returns the new function.

  • Type Parameters

    • T

    Parameters

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

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

      • (...args): boolean
      • Parameters

        • Rest ...args: T[]

        Returns boolean

Generated using TypeDoc