Skip to content

asEntityId

asEntityId(value, label): EntityId

Defined in: src/validation.ts:26

Narrow value to a well-formed EntityId or throw with a descriptive label-prefixed message.

unknown

string

EntityId