Skip to main content

CommonArrayConcatDedupe

Callable

  • CommonArrayConcatDedupe<T>(dest: T[], src: readonly T[]): T[]

  • Adds all items from the source array to the destination array if they aren't already included


    Type parameters

    • T

    Parameters

    • dest: T[]

      The destination array

    • src: readonly T[]

      The source array

    Returns T[]

    • The destination array