UNPKG

@vechain/vebetterdao-contracts

Version:

Open-source repository that houses the smart contracts powering the decentralized VeBetterDAO on the VeChain Thor blockchain.

6 lines (5 loc) 262 B
"use strict"; Object.defineProperty(exports, "__esModule", { value: true }); exports.chunk = void 0; const chunk = (array, size) => Array.from({ length: Math.ceil(array.length / size) }, (_v, i) => array.slice(i * size, i * size + size)); exports.chunk = chunk;