scalus.cardano.onchain.plutus.prelude.AssocMap
See theAssocMap companion object
Attributes
- Companion
- object
- Graph
-
- Supertypes
-
trait Serializabletrait Producttrait Equalsclass Objecttrait Matchableclass AnyShow all
Members list
Value members
Concrete methods
Extension method from AssocMap
Extension method from AssocMap
Optionally returns the value associated with a key.
Optionally returns the value associated with a key.
Value parameters
- key
-
the key value
Attributes
- Returns
-
an option value containing the value associated with
keyin this map, orNoneif none exists.
Extension method from AssocMap
Retrieves the value associated with a key, or fails with a custom message.
Retrieves the value associated with a key, or fails with a custom message.
Mirrors SortedMap.getOrFail, so a map can be switched between the two representations without rewriting its call sites.
Attributes
Extension method from AssocMap
Returns the only entry of this map, or fails with message when the map is empty or has more than one entry.
Returns the only entry of this map, or fails with message when the map is empty or has more than one entry.
Attributes
Extension method from AssocMap
Inherited methods
Attributes
- Inherited from:
- Product
Attributes
- Inherited from:
- Product
In this article