type

Marker

@Js
@Serializable { simple=true }
const class Marker : Obj

Marker is the singleton which indicates a marker tag with no value.

constructors

fromStr

Always return val

fields

val

Singleton value

methods

fromBool

If true return Marker.val else null

toStr

Return "marker"

Slot Details

fromBool

static Marker? fromBool(Bool b)

If true return Marker.val else null

fromStr

static new fromStr(Str s)

Always return val

toStr

virtual override Str toStr()

Return "marker"

val

const static Marker val := ...

Singleton value