Function: isObject()
function isObject(value: unknown): value is UnknownRecord;
Defined in: shared/utils/typeGuards.ts:21
Checks whether a value is a non-null object excluding arrays.
Parametersโ
valueโ
unknown
Value to evaluate.
Returnsโ
value is UnknownRecord
true when the value is a non-null object; otherwise false.
Remarksโ
Arrays are explicitly rejected so the guard can be safely used for record inputs without further refinement.