Skip to content

Function: arrayGet() ​

arrayGet(array, key, defaultValue?): unknown

Defined in: src/arrays.ts:159

Get an item from a record using dot notation.

Parameters ​

array ​

Record<string, unknown>

The source record

key ​

string

The key to retrieve

defaultValue? ​

unknown

The default value if key not found

Returns ​

unknown

The value at the key or default value

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