Skip to content
On this page

isString

Identifies if a value is a string.

Type Definitions

ts
/**
 * @param val - The value.
 * @returns If the value is a string.
 */
export declare function isString(val: unknown): val is string
1
2
3
4
5