Home > doofinder > isString

isString() function

Check if the provided value is a string.

Signature:

export declare function isString(value: unknown): boolean;

Parameters

Parameter Type Description
value unknown The value to check.

Returns:

boolean

true if the value is a string, false otherwise.