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

Parameter

Type

Description

obj

unknown

The candidate object.

Returns:

obj is Record<string, unknown>

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