Arrays.construct()

Construct an array.

This machine is not designed for everyday use-- it is an identity operator for the Array type-- but it can certainly be used in any way you see fit.

Usage

Hover over inputs/exits for more info.

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


// Construct an array.

Arrays.construct({

array: [ '*' ],

}).execSync();

Inputs

array required

The homogeneous array to build.

[ '*' ]

Exits

error

An unexpected error occurred.

success

OK.

(varies based on provided inputs)