# isIteratorLike
> Test if a value is [`iterator`][mdn-iterator-protocol]-like.
## Usage
```javascript
var isIteratorLike = require( '@stdlib/assert/is-iterator-like' );
```
#### isIteratorLike( value )
Tests if a `value` is [`iterator`][mdn-iterator-protocol]-like.
```javascript
var obj = {
'next': function noop() {}
};
var bool = isIteratorLike( obj );
// returns true
bool = isIteratorLike( {} );
// returns false
```
## Notes
- 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.
## Examples
```javascript
var noop = require( '@stdlib/utils/noop' );
var isIteratorLike = require( '@stdlib/assert/is-iterator-like' );
var obj = {
'next': noop
};
var bool = isIteratorLike( obj );
// returns true
bool = isIteratorLike( {} );
// returns false
bool = isIteratorLike( [] );
// returns false
bool = isIteratorLike( null );
// returns false
```
[mdn-iterator-protocol]: https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Iteration_protocols#The_iterator_protocol