UNPKG

@tsdotnet/linq

Version:

A familiar set of functions that operate on JavaScript iterables (ES2015+) in a similar way to .NET's LINQ does with enumerables.

13 lines (11 loc) 259 B
function notNull(sequence) { return { *[Symbol.iterator]() { for (const e of sequence) if (e !== null) yield e; } }; } export { notNull as default }; //# sourceMappingURL=notNull.js.map