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
2
3
4
5