Skip to content

Latest commit

 

History

History

iterator

Folders and files

NameName
Last commit message
Last commit date

parent directory

..
 
 
 
 
 
 
 
 

Iterator


MIT License

Iterator extensions

Table of contents

Usage

import { extend } from 'jsmodern';
import {
  isAsyncIterator,
  isIterator,
} from 'jsmodern/dist/iterator.js';

extend({
  iterator: [
    isAsyncIterator,
    isIterator,
  ],
});

console.log([
  isAsyncIterator,
  isIterator,
].every(n => 'function' === typeof(n)));

Available extensions

Check out API Reference.

License

MIT License © Rong Sen Ng