Arrays.uniq()

Build a duplicate-free version of an array.

Usage

Hover over inputs/exits for more info.

var Arrays = require('machinepack-arrays');


// Build a duplicate-free version of an array.

Arrays.uniq({

array: [ '*' ],

}).execSync();

Inputs

array required

The array to remove duplicates from.

[ '*' ]

Exits

error

An unexpected error occurred.

success

OK.

(varies based on provided inputs)