Bentrix Docs
HomePricingDashboard

Assay reference: map

runs as written · runs with Bentrix's own convention, said in its note · refused by name, the note says what Bentrix lacks · not yet built.

Functions

map.clear#

runs
map.clear(id: map)

Takes every pair out

idmaprequired

map.contains#

runs
map.contains(id: map, key: key) → bool

Whether the key is in the map

idmaprequired
keykeyrequired

map.copy#

runs
map.copy(id: map) → mapsame

A new map of the same pairs

idmaprequired

map.get#

runs
map.get(id: map, key: key) → val

The key's value, or na

idmaprequired
keykeyrequired

map.keys#

runs
map.keys(id: map) → arr<key>

The keys, in the order first put

idmaprequired

map.new#

runs
map.new() → mapG

A new empty map of the call's key and value types: map.new<string, float>

map.put#

runs
map.put(id: map, key: key, value: val) → val

Puts the pair: the value it replaced, or na for a new key; at most 50,000 pairs

idmaprequired
keykeyrequired
valuevalrequired

map.put_all#

runs
map.put_all(id: map, id2: map)

Puts every pair of the second map, in its order

idmaprequired
id2maprequired

map.remove#

runs
map.remove(id: map, key: key) → val

Takes the key out: its value, or na

idmaprequired
keykeyrequired

map.size#

runs
map.size(id: map) → int

The count of pairs

idmaprequired

map.values#

runs
map.values(id: map) → arr<val>

The values, in their keys' order

idmaprequired

Bentrix 0.1.382Every number, name and default on these pages is read from the application itself.What is comingWhat changed