Skip to content

asString

asString(value, label): string

Defined in: src/validation.ts:44

Narrow value to a string or throw with a descriptive label-prefixed message.

unknown

string

string