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

Parameter

Type

Description

value

unknown

The candidate value.

Returns:

value is string

True if the input value is a string.