Initial commit
This commit is contained in:
commit
b3a51a4115
10336 changed files with 2381973 additions and 0 deletions
16
node_modules/effect/dist/esm/NonEmptyIterable.js
generated
vendored
Normal file
16
node_modules/effect/dist/esm/NonEmptyIterable.js
generated
vendored
Normal file
|
|
@ -0,0 +1,16 @@
|
|||
/**
|
||||
* @since 2.0.0
|
||||
*/
|
||||
/**
|
||||
* @category getters
|
||||
* @since 2.0.0
|
||||
*/
|
||||
export const unprepend = self => {
|
||||
const iterator = self[Symbol.iterator]();
|
||||
const next = iterator.next();
|
||||
if (next.done) {
|
||||
throw new Error("BUG: NonEmptyIterator should not be empty - please report an issue at https://github.com/Effect-TS/effect/issues");
|
||||
}
|
||||
return [next.value, iterator];
|
||||
};
|
||||
//# sourceMappingURL=NonEmptyIterable.js.map
|
||||
Loading…
Add table
Add a link
Reference in a new issue