# isIterableLike > Test if a value is [`iterable`][mdn-iterable-protocol]-like.
## Usage ```javascript var isIterableLike = require( '@stdlib/assert/is-iterable-like' ); ``` #### isIterableLike( value ) Tests if a `value` is [`iterable`][mdn-iterator-protocol]-like. ```javascript var bool = isIterableLike( [] ); // returns bool = isIterableLike( {} ); // returns false ```
## Notes - In order to be [iterable][mdn-iterable-protocol], an `object` must implement the `@@iterator` method, which, when called, returns an [iterator protocol-compliant object][mdn-iterator-protocol]. - An [iterator protocol-compliant object][mdn-iterator-protocol] is an `object` having a `next` method following the [iterator protocol][mdn-iterator-protocol]. - As full [iterator][mdn-iterator-protocol] compliance is **impossible** to achieve without evaluating an [iterator][mdn-iterator-protocol], this function checks **only** for interface compliance. - In environments lacking `Symbol.iterator` support, this function always returns `false`.
## Examples ```javascript var isIterableLike = require( '@stdlib/assert/is-iterable-like' ); var bool = isIterableLike( [] ); // returns bool = isIterableLike( {} ); // returns false bool = isIterableLike( null ); // returns false ```