Skip to main content

core.isempty

Home > @medplum/core > isEmpty

isEmpty() function

Returns true if the value is empty (null, undefined, empty string, or empty object).

Signature:

export declare function isEmpty(v: unknown): boolean;

Parameters

Parameter

Type

Description

v

unknown

Any value.

Returns:

boolean

True if the value is an empty string or an empty object.