• Checks if predicate returns truty for all elements of collection. Iteration is stopped once predicate returns falsey.

    Note: This function returns true for empty collections because everything is true of elements of empty collections.

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

    • Lodash: 16,503 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