type

ValidateLevel

@Js
@Serializable { simple=true }
enum class ValidateLevel : Enum

ValidateLevel

enum

warn

Warning level

err

Error level

constructors

fromStr

Return the ValidateLevel instance for the specified name.

fields

vals

List of ValidateLevel values indexed by ordinal

methods

isErr

Is this the err enum value

isWarn

Is this the warn enum value

max

Max level from items or null if items is empty

Slot Details

err

const static ValidateLevel err := ...

Error level

fromStr

static new fromStr(Str name, Bool checked := true)

Return the ValidateLevel instance for the specified name. If not a valid name and checked is false return null, otherwise throw ParseErr.

isErr

Bool isErr()

Is this the err enum value

isWarn

Bool isWarn()

Is this the warn enum value

max

static ValidateLevel? max(ValidateItem[] items)

Max level from items or null if items is empty

vals

const static ValidateLevel[] vals := ...

List of ValidateLevel values indexed by ordinal

warn

const static ValidateLevel warn := ...

Warning level