• Creates a flattened array of values by running each element in collection thru iteratee and flattening the mapped results.

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

    • Lodash: 16,579 bytes
    • Micro-dash: 481 bytes

    Type Parameters

    • I
    • O

    Parameters

    • array: Nil | readonly I[]
    • iteratee: ArrayIteratee<I, O | O[]>

    Returns O[]

  • Type Parameters

    • T
    • O

    Parameters

    • object: Nil | T
    • iteratee: ObjectIteratee<T, O | O[]>

    Returns O[]