Appearance
Identifies if a value is a string.
/** * @param val - The value. * @returns If the value is a string. */ function isString(val: unknown): val is string