A Type Guard to check if given value type is equal to "string"
import { isString } from 'type-guard-helpers'const test = 'foobar' as unknown;if (isString(test)) { test; // string}
Generated using TypeDoc
A Type Guard to check if given value type is equal to "string"
Example