• This method is like _.union except that it accepts iteratee which is invoked for each element of each arrays to generate the criterion by which uniqueness is computed. The iteratee is invoked with one argument: (value).

    Type Parameters

    • T

    Parameters

    • arrays: undefined | null | List<T>

      The arrays to inspect.

    • Optionaliteratee: ValueIteratee<T>

      The iteratee invoked per element.

    Returns T[]

    Returns the new array of combined values.

  • Type Parameters

    • T

    Parameters

    • arrays1: undefined | null | List<T>
    • arrays2: undefined | null | List<T>
    • Optionaliteratee: ValueIteratee<T>

    Returns T[]

    _.unionBy

  • Type Parameters

    • T

    Parameters

    • arrays1: undefined | null | List<T>
    • arrays2: undefined | null | List<T>
    • arrays3: undefined | null | List<T>
    • Optionaliteratee: ValueIteratee<T>

    Returns T[]

    _.unionBy

  • Type Parameters

    • T

    Parameters

    • arrays1: undefined | null | List<T>
    • arrays2: undefined | null | List<T>
    • arrays3: undefined | null | List<T>
    • arrays4: undefined | null | List<T>
    • Optionaliteratee: ValueIteratee<T>

    Returns T[]

    _.unionBy

  • Type Parameters

    • T

    Parameters

    • arrays1: undefined | null | List<T>
    • arrays2: undefined | null | List<T>
    • arrays3: undefined | null | List<T>
    • arrays4: undefined | null | List<T>
    • arrays5: undefined | null | List<T>
    • Rest...iteratee: (
          | undefined
          | null
          | List<T>
          | ValueIteratee<T>)[]

    Returns T[]

    _.unionBy