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

    Type Parameters

    • T

    Parameters

    Returns ((list) => boolean)

      • (list): boolean
      • Parameters

        • list: T[]

        Returns boolean

    Example

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

Generated using TypeDoc