Home > @skunkteam/types > ValidationMode
The validation mode to use.
Signature:
type ValidationMode = 'check' | 'construct';Used by BaseTypeImpl.validate().
-
'check': Only validate, no auto-casting or parsing performed -
'construct': First parse (if applicable), then validate and return the result of the parsing step when successful.