MCPcopy
hub / github.com/stemkoski/stemkoski.github.com / union

Function union

MathBox/mathbox-bundle.js:40068–40070  ·  view source on GitHub ↗

* Creates an array of unique values, in order, of the provided arrays using * strict equality for comparisons, i.e. `===`. * * @static * @memberOf _ * @category Arrays * @param {...Array} [array] The arrays to inspect. * @returns {Array} Returns an array of combine

()

Source from the content-addressed store, hash-verified

40066 * // => [1, 2, 3, 5, 4]
40067 */
40068 function union() {
40069 return baseUniq(baseFlatten(arguments, true, true));
40070 }
40071
40072 /**
40073 * Creates a duplicate-value-free version of an array using strict equality

Callers

nothing calls this directly

Calls 2

baseUniqFunction · 0.85
baseFlattenFunction · 0.85

Tested by

no test coverage detected