Skip to content

Map ​

class in OpalScript

An immutable string-keyed map of at most 1,024 keys.

Methods ​

MemberDescription
Map.WithReturn an immutable map with this key set. Replacing a key retains its position.
Map.WithoutReturn an immutable map without this key.
Map.GetLook up a key, returning Some(value) or None.
Map.HasWhether this immutable map contains the key.

See also ​