An object containing an ordered sequence of key-value pairs.
This class is the object equivalent of Map.
Map
To retrieve a value given its key, use subscript notation (object[key]), which throws an error if no value is associated with the given key, or the getOrNull method.
object[key]
getOrNull
The function used to compute the default value for a mapping entry given its key.
Tells if this mapping is empty, that is, has zero entries.
The number of entries in this mapping.
The keys contained in this mapping.
Returns the class of this.
this
Returns a string representation of this.
This method is used to convert the values of string interpolation expressions to strings.
Returns this |> transform if this is non-null, and null otherwise.
this |> transform
null
This method is the complement of the ?? operator and the equivalent of an Option type's map and flatMap methods.
??
Option
map
flatMap
Tells if this mapping contains key.
key
Returns the value associated with key or null if this mapping does not contain key.
This is the nullable equivalent of the subscript operator (object[key]).
Folds the entries of this mapping in iteration order using operator, starting with initial.
operator
initial
Converts this mapping to a Map.
An object containing an ordered sequence of key-value pairs.