• Returns true if the predicate returns true for every item in an array. Same as list.every(predicate).

    Type Parameters

    • T

    Parameters

    Returns ((list) => boolean)

      • (list): boolean
      • Parameters

        • list: T[]

        Returns boolean

    Example

    every(isEven)([3, 6, 9])
    // => false

Generated using TypeDoc