UNPKG

@grindife/supamelon

Version:

Combination of supabase and watermelondb

15 lines (14 loc) 293 B
"use strict"; exports.__esModule = true; exports.default = splitEvery; function splitEvery(n, list) { var splitted = []; var position = 0; var { length: length } = list; while (position < length) { splitted.push(list.slice(position, position += n)); } return splitted; }