Checks whether a value is a string.
Import:
import { isString } from '@mnaoumov/typescript-lib/type-guards';
Signature:
function isString(value: unknown): boolean
Parameters:
| Parameter |
Type |
Description |
value |
unknown |
The value to check. |
Returns: boolean — Whether the value is a string.