Skip to main content
Deno 2 is finally here 🎉️
Learn more
Module

x/grm/mod.ts>utils.chunks

MTProto API Client for Deno 🦕
Go to Latest
function utils.chunks
import { utils } from "https://deno.land/x/grm@0.5.2/mod.ts";
const { chunks } = utils;

Parameters

arr: T[]
optional
size = [UNSUPPORTED]

Returns

Generator<T[]>