Function difference

  • Obtain values not present in another array.

    Type Parameters

    • T

    • U = T

    Parameters

    • x: T[]

      an array

    • y: T[]

      another array

    • fc: CompareFunction<T | U> = null

      compare function (a, b)

    • fm: MapFunction<T, T | U> = null

      map function (v, i, x)

    Returns T[]

    x - y = {v | v ∈ x, v ∉ y}

Generated using TypeDoc