npm.io
1.0.2 • Published 2 years ago

craydent.distinct

Licence
MIT
Version
1.0.2
Deps
5
Size
13 kB
Vulns
0
Weekly
0

Craydent 1.0.2

by Clark Inada

Craydent is all inclusive utility library. There are several ways to use the library in NodeJS. More detailed documentation on constants can be found at Craydent Properties. More detailed documentation on methods can be found at Craydent Methods

// require - this require is the fully modular version with no global constants, prototypes, or methods.
const distinct = require('craydent.distinct').default;
// import - this require is the fully modular version with no global constants, prototypes, or methods.
import distinct from 'craydent.distinct';

distinct

Info: Array class extension to get all unique records by fields specified

Return: (Array) returns an array with distinct values

Parameters:

None

Overloads:

None

Download