Skip to Content

isRecord()

isRecord(value): value is Record<string, unknown>

Defined in: utils/isRecord.ts:7 

Whether a value is an object with fields to read: anything but null and an array, class instances included.

Parameters

value

unknown

The value.

Returns

value is Record<string, unknown>

true for an object.

Last updated on