Function arrDiff

  • Returns elements from the first array that are not present in the second array

    Example

    arrDiff([1, 2, 3, 4], [2, 3]);
    => [1, 4]

    Type Parameters

    • Type extends unknown[]

    Parameters

    • a: unknown[]

      First array

    • b: unknown[]

      Second array

    Returns Type

Generated using TypeDoc