clean up
This commit is contained in:
1 parent
9d8cc9ed3e
commit
8058e314db
27 files changed
+87608
-11878
No files matched your search
@@ -23,3 +23,9 @@ export function* chain<T>(genArray: Generator<T>[]): Generator<T> {
|
||||
yield * gen
|
||||
}
|
||||
}
|
||||
|
||||
export function* arrayToIter<T>(arr: T[]): Generator<T> {
|
||||
for (const e of arr) {
|
||||
yield e
|
||||
}
|
||||
}
|
||||
Reference in new issue
Block a user