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.

9 lines (6 loc) 197 B
import takeWhile from './takeWhile.js'; function takeUntil(predicate) { return takeWhile((e, i) => !predicate(e, i)); } export { takeUntil as default }; //# sourceMappingURL=takeUntil.js.map