Schematics::UnionValidator(T)
Inherits Schematics::Validator / Reference / Object
Validator for union types (e.g., String | Int32)
Instance methods
call(value) : T | Nil
Sourcevalidate(value, path : String = "root") : ValidationResult
SourceInherits Schematics::Validator / Reference / Object
Validator for union types (e.g., String | Int32)