Skip to content

Object

[Source]

class ref Object

Constructors

create

[Source]

new ref create(
  items: (ReadSeq[(String val , (Object box | Sequence box | String box | I128 val | F64 val | Bool val | Null val))] box | None val) = reference)
: Object ref^

Parameters

Returns


Public Functions

contains

[Source]

fun box contains(
  key: (String val | USize val))
: Bool val

Parameters

Returns


apply

[Source]

fun box apply(
  key: String val)
: (this->Object box | this->Sequence box | this->String box | 
    I128 val | F64 val | Bool val | 
    Null val) ?

Parameters

Returns


update

[Source]

fun ref update(
  key: String val,
  value: (Object box | Sequence box | String box | 
    I128 val | F64 val | Bool val | 
    Null val))
: None val

Parameters

Returns


pairs

[Source]

fun box pairs()
: Iterator[(String val , (this->Object box | this->Sequence box | this->String box | I128 val | F64 val | Bool val | Null val))] ref

Returns


get_string

[Source]

fun box get_string(
  pretty: Bool val,
  indent: String val = "")
: String iso^

Parameters

Returns


string

[Source]

fun box string()
: String iso^

Returns