• Iterates over elements of collection and invokes iteratee for each element. Iteratee functions may exit iteration early by explicitly returning false.

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

    • Lodash: 4,526 bytes
    • Micro-dash: 249 bytes

    Type Parameters

    • T extends readonly any[] | Nil

    Parameters

    • array: T
    • iteratee: ArrayIteratee<NonNullable<T>[number], boolean | void>

    Returns T

  • Type Parameters

    • T

    Parameters

    • object: T
    • iteratee: ObjectIteratee<NonNullable<T>, boolean | void>

    Returns T

Generated using TypeDoc