Skip to main content
Module

x/lodash_es/mod.ts>difference

lodash for deno use
Latest
variable difference
import { difference } from "https://deno.land/x/lodash_es@v0.0.2/mod.ts";

Creates an array of array values not included in the other given arrays using SameValueZero for equality comparisons. The order and references of result values are determined by the first array.

Note: Unlike _.pullAll, this method returns a new array.