ValidateLevel
@Js
@Serializable { simple=true }
const class ValidateLevel : Enum
ValidateLevel
Return the ValidateLevel instance for the specified name
Warning level
Error level
List of ValidateLevel values indexed by ordinal
Max level from items or null if items is empty
Is this the err enum value
Is this the warn enum value
const static ValidateLevel : err
Error level
static new fromStr(Str name, Bool checked)
Return the ValidateLevel instance for the specified name. If not a valid name and checked is false return null, otherwise throw ParseErr.
Bool isErr()
Is this the err enum value
Bool isWarn()
Is this the warn enum value
static ValidateLevel? max(ValidateItem[] items)
Max level from items or null if items is empty
const static ValidateLevel[] : vals
List of ValidateLevel values indexed by ordinal
const static ValidateLevel : warn
Warning level