tahamajs's picture
download
raw
284 Bytes
import _flatten from './_flatten.js';
// Flatten out an array, either recursively (by default), or up to `depth`.
// Passing `true` or `false` as `depth` means `1` or `Infinity`, respectively.
export default function flatten(array, depth) {
return _flatten(array, depth, false);
}

Xet Storage Details

Size:
284 Bytes
·
Xet hash:
bef0ac05140cf0385c8a0aff79373f97c0a3cabb08a81a602007bfbbb9fd606a

Xet efficiently stores files, intelligently splitting them into unique chunks and accelerating uploads and downloads. More info.