lodash.union

GPTKB entity

Statements (18)
Predicate Object
gptkbp:instanceOf JavaScript function
gptkbp:allows multiple arrays
gptkbp:availableOn gptkb:Lodash_npm_package
gptkbp:category Array
Set Operations
gptkbp:describes Creates an array of unique values, in order, from all given arrays using SameValueZero for equality comparisons.
gptkbp:doesNotMutate input arrays
gptkbp:example _.union([2], [1, 2]); // => [2, 1]
https://www.w3.org/2000/01/rdf-schema#label lodash.union
gptkbp:introducedIn gptkb:Lodash_v2.0.0
gptkbp:partOf gptkb:Lodash
gptkbp:relatedTo gptkb:lodash.difference
gptkb:lodash.intersection
lodash.uniq
gptkbp:result Array
new array
gptkbp:bfsParent gptkb:Lodash
gptkbp:bfsLayer 5