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