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) 279 B
function notUndefined(sequence) { return { *[Symbol.iterator]() { for (const e of sequence) if (e !== undefined) yield e; } }; } export { notUndefined as default }; //# sourceMappingURL=notUndefined.js.map