• Checks if predicate returns truthy for any element of collection. Iteration is stopped once predicate returns truthy.

    Contribution to minified bundle size, when it is the only function imported:

    • Lodash: 16,399 bytes
    • Micro-dash: 323 bytes

    Type Parameters

    • T

    Parameters

    • array: undefined | readonly T[]
    • predicate: ArrayIteratee<T, any>

    Returns boolean

  • Type Parameters

    • T

    Parameters

    • object: undefined | T
    • predicate: ObjectIteratee<T, any>

    Returns boolean

Generated using TypeDoc