@lucid-softworks/array-unzip
v0.1.0
Published
Transpose rows into columns, stopping at the shortest row.
Maintainers
Readme
@lucid-softworks/array-unzip
Transpose rows into typed columns, stopping at the shortest row.
import { unzip } from "@lucid-softworks/array-unzip";
unzip([
[1, "one"],
[2, "two"],
]); // [[1, 2], ["one", "two"]]