Skip to content

Function: arrayDivide() ​

arrayDivide<T>(array): [string[], T[]]

Defined in: src/arrays.ts:46

Divide an array into two arrays: one with keys (indices) and one with values.

Type Parameters ​

T ​

T

Parameters ​

array ​

T[]

The array to divide

Returns ​

[string[], T[]]

A tuple containing keys and values

Documentation of 1.0.13 , built from cf61d3b on 1.0.13 by pipeline #2985011498 on 2026-10-21.