Function diffCollection

  • Type Parameters

    • T extends PropertyKey

    Parameters

    • a: T[]

      The first array to compare.

    • b: T[]

      The second array to compare.

    Returns T[]

    • An array containing elements that are present in one array but not the other.

    Description

    Returns the difference between two arrays of primitive values.

Generated using TypeDoc