Skip to content

Function: arrayHas() ​

arrayHas(array, keys): boolean

Defined in: src/arrays.ts:189

Check if an item or items exist in a record using "dot" notation.

Parameters ​

array ​

Record<string, unknown>

The source record

keys ​

string | string[]

The key or keys to check

Returns ​

boolean

True if all keys exist, false otherwise

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