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.

14 lines (11 loc) 313 B
import concat from '../iterables/concat.js'; import same from './same.js'; function prepend(...elements) { if (elements.length === 0) return same; return function (sequence) { return concat(elements, sequence); }; } export { prepend as default }; //# sourceMappingURL=prepend.js.map