3.1.2 • Published 5 years ago

array-intersection-x v3.1.2

Weekly downloads
47
License
MIT
Repository
github
Last release
5 years ago

array-intersection-x

Creates an array of unique values that are included in all given arrays.

module.exports([...array])array

This method creates an array of unique values that are included in all given arrays using SameValueZero for equality comparisons. The order and references of result values are determined by the first array.

Kind: Exported function
Returns: array - Returns the new array of intersecting values.

ParamTypeDescription
...arrayarrayThe arrays to inspect.

Example

import intersection from 'array-intersection-x';

console.log(intersection([2, 1], [2, 3])); // => [2]
3.1.2

5 years ago

3.1.1

5 years ago

3.1.0

5 years ago

3.0.16

5 years ago

3.0.15

5 years ago

3.0.14

5 years ago

3.0.13

5 years ago

3.0.12

5 years ago

3.0.11

5 years ago

3.0.10

5 years ago

3.0.9

5 years ago

3.0.8

5 years ago

3.0.7

5 years ago

3.0.6

5 years ago

3.0.5

5 years ago

3.0.4

5 years ago

3.0.3

5 years ago

3.0.2

5 years ago

3.0.1

5 years ago

3.0.0

5 years ago

2.0.0

7 years ago

1.0.0

7 years ago