unique

Filters an array of elements, removing duplicates. Does not guarantee order of filtered elements.

An optional comparator function may be passed for arbitrary comparison behavior. The default is a strict equality comparison: a === b.

Graycore, LLC © 2018 - 2024. Code licensed under an MIT-style License. Documentation licensed under CC BY 4.0.