time-to-botec/squiggle/node_modules/@stdlib/assert/is-iterable-like/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

2.4 KiB

isIterableLike

Test if a value is iterable-like.

Usage

var isIterableLike = require( '@stdlib/assert/is-iterable-like' );

isIterableLike( value )

Tests if a value is iterable-like.

var bool = isIterableLike( [] );
// returns <boolean>

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

Notes

Examples

var isIterableLike = require( '@stdlib/assert/is-iterable-like' );

var bool = isIterableLike( [] );
// returns <boolean>

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

bool = isIterableLike( null );
// returns false