@iterable-iterator/tee
v2.0.0
Published
Iterable copy function for JavaScript
Downloads
28
Readme
:seedling: @iterable-iterator/tee
Iterable copy function for JavaScript. See docs.
:warning: Depending on your environment, the code may require
regeneratorRuntime
to be defined, for instance by importing regenerator-runtime/runtime.
import {tee} from '@iterable-iterator/tee';
tee('ABC', 2); // [ A B C , A B C ]