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

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