Function getUniqueArray

  • Returns a new array with only the unique elements from the input array.

    Type Parameters

    • T

    Parameters

    • arr: T[] = []

      An array of elements. Default value is an empty array.

    Returns T[]

    • An array containing only the unique elements from the input array.

Generated using TypeDoc