@kingjs/i-enumerable
v1.0.8
Published
`IEnumerable` has a single member `getEnumerator`.
Downloads
16
Readme
@kingjs/i-enumerable
IEnumerable
has a single member getEnumerator
.
Usage
var assert = require('assert');
var IInterface = require('@kingjs/i-interface');
var IEnumerable = require('@kingjs/i-enumerable');
var id = Symbol.for('@kingjs/IEnumerable.getEnumerator');
assert(IEnumerable instanceof Function);
assert(IEnumerable.name == '@kingjs/IEnumerable');
assert(IEnumerable.getEnumerator == id);
assert(IEnumerable.GetEnumerator == id);
assert(IEnumerable instanceof IInterface);
See Also
Install
With npm installed, run
$ npm install @kingjs/i-enumerable
Dependencies
|Package|Version|
|---|---|
|@kingjs/reflect.create-interface
|^1.0.4
|
Source
https://repository.kingjs.net/i-enumerable
License
MIT