SkySpark by SkyFoundry

const class haystack::Marker

sys::Obj
  haystack::Marker

@Js
@Serializable { simple=true }

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

fromBool

const 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