Skip to main content

core.isobject

Home > @medplum/core > isObject

isObject() function

Returns true if the input is an object.

Signature:

export declare function isObject(obj: unknown): obj is Record<string, unknown>;

Parameters

ParameterTypeDescription
objunknownThe candidate object.

Returns:

obj is Record<string, unknown>

True if the input is a non-null non-undefined object.