Package: effect
Module: Array
Creates a Array of values not included in the other given Iterable.
The order and references of result values are determined by the first Iterable.
Example
import { Array } from "effect"
const difference = Array.difference([1, 2, 3], [2, 3, 4])
console.log(difference) // [1]
Signature
declare const difference: { <A>(that: Iterable<A>): (self: Iterable<A>) => Array<A>; <A>(self: Iterable<A>, that: Iterable<A>): Array<A>; }
Since v2.0.0