Package Exports
- @d31t4/linq.ts
- @d31t4/linq.ts/dist/index.js
This package does not declare an exports field, so the exports above have been automatically detected and optimized by JSPM instead. If any package subpath is missing, it is recommended to post an issue to the original package (@d31t4/linq.ts) to support the "exports" field. If that is not possible, create a JSPM override to customize the exports field for this package.
Readme
iterable-map-filter-reduce
LINQ for JavaScript iterables.
Usage
const arrayIterable = Enumerable.from([1, 2, 3])
.filter(x => x > 1)
.map(x => 2 * x);
// or:
// arrayIterable = [1, 2, 3].toEnumerable()
// .filter(x => x > 1)
// .map(x => 2 * x);
const objectIterable = Enumerable.from({ x: 1, y: 2, z: 3 });