time-to-botec/js/node_modules/@stdlib/assert/is-array/README.md
NunoSempere b6addc7f05 feat: add the node modules
Necessary in order to clearly see the squiggle hotwiring.
2022-12-03 12:44:49 +00:00

1.2 KiB

isArray

Test if a value is an array.

Usage

var isArray = require( '@stdlib/assert/is-array' );

isArray( value )

Tests if a value is an array.

var bool = isArray( [] );
// returns true

Examples

var isArray = require( '@stdlib/assert/is-array' );

var bool = isArray( [ 1, 2, 3, 4 ] );
// returns true

bool = isArray( {} );
// returns false