Skip to content

validateEventType

function validateEventType(input, basePath?): ValidationResult;

Defined in: src/validation.ts:104

Validate an EventType: structural only (the name regex carries the semantics).

Parameter Type Default value
input unknown undefined
basePath? string "eventType"

ValidationResult