This commit is contained in:
ari committed 2021-12-28 21:53:41 -05:00
1 parent 9d8cc9ed3e
commit 8058e314db
27 files changed
+87608 -11878

No files matched your search

+6
View File
@@ -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
}
}