0.0.12 • Published 5 years ago

@berhalak/linq v0.0.12

Weekly downloads
-
License
MIT
Repository
github
Last release
5 years ago

Gitpod Ready-to-Code

linq

Linq style using generators

npm install @berhalak/linq

const list = new Set([1, 2, 3]);
expect(from(list).where(x => x > 2).first()).toBe(3);

const a = [1, 2, 3];
const b = [3, 4, 5];
let r = from(a).intersect(b);
expect(r.count()).toBe(1);
0.0.12

5 years ago

0.0.11

5 years ago

0.0.10

5 years ago

0.0.9

5 years ago

0.0.8

5 years ago

0.0.7

5 years ago

0.0.6

5 years ago

0.0.3

5 years ago

0.0.2

5 years ago

0.0.5

5 years ago

0.0.4

5 years ago

0.0.1

5 years ago