Skip to main content

isWithIndexer

isWithIndexer<T>(value): value is WithIndexer<T>

Checks if value is an object (key-value), excluding arrays.

Type Parameters

T

T = unknown

The type of value is an object (defaults to unknown).

Parameters

value

unknown

The value to check.

Returns

value is WithIndexer<T>