hap-fluent / isString
Function: isString()
ts
function isString(value): value is string;Defined in: packages/hap-fluent/src/type-guards.ts:106
Determine whether value is a string.
Parameters
| Parameter | Type | Description |
|---|---|---|
value | unknown | Value to test. |
Returns
value is string
true if typeof value === 'string'.