Skip to main content

core.isstring

Home > @medplum/core > isString

isString() function

Returns true if the input value is a string.

Signature:

export declare function isString(value: unknown): value is string;

Parameters

ParameterTypeDescription
valueunknownThe candidate value.

Returns:

value is string

True if the input value is a string.