Arrays.length()

Get the length of the provided array.

Usage

Hover over inputs/exits for more info.

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


// Get the length of the provided array.

Arrays.length({

array: [ '*' ],

}).execSync();

Inputs

array required

The array of items to count

[ '*' ]

Exits

error

An unexpected error occurred.

success

OK.

32