import { arrayChunk } from "https://deno.land/x/polkadot@0.2.11/util/mod.ts";
Examples
import { arrayChunk } from 'https://deno.land/x/polkadot@0.2.11/util/mod.ts';
arrayChunk([1, 2, 3, 4, 5]); // [[1, 2], [3, 4], [5]]
Parameters
array: T[]
import { arrayChunk } from "https://deno.land/x/polkadot@0.2.11/util/mod.ts";
import { arrayChunk } from 'https://deno.land/x/polkadot@0.2.11/util/mod.ts';
arrayChunk([1, 2, 3, 4, 5]); // [[1, 2], [3, 4], [5]]