Function xor

  • Creates an array of unique values that are not duplicated in others arrays.

    Type Parameters

    • Item

      Type of the arrays elements.

    Parameters

    • Rest ...arrays: Item[][]

      The arrays to inspect.

    Returns Item[]

    The new array of filtered values.

    Example

    xor([1, 2], [2, 3]);
    // => [1, 3]

Generated using TypeDoc