@kingjs/linq.empty
v1.0.7
Published
Returns an empty sequence.
Downloads
6
Readme
@kingjs/linq.empty
Returns an empty sequence.
Usage
Generate an empty sequence like this:
var empty = require('@kingjs/linq.empty');
var toArray = require('@kingjs/linq.to-array');
toArray.call(empty());
result:
[]
API
declare function(): Enumerable;
Interfaces
Enumerable
: See @kingjs/enumerable.define.
Result
An empty sequence.
Install
With npm installed, run
$ npm install @kingjs/link.empty
Acknowledgments
Like Enumerable.Empty
.
License
MIT