Skip to content

@MutMap[S @ {...}]

A Map supporting assignment and removal.

Inherits from: AssignMap[S]

Methods

clear() overload 2 of 2

Removes every pair.

delete key -> Bool overload 2 of 2

Removes every value of a key, reporting whether any were present.

Parameters

NameTypeDescription
key Value

pop[K, D = Never] key … -> (IndexItem[S, K] | D) overload 2 of 2

Removes one instance, defaulting to the first. Negative instances count backward.

Parameters

NameTypeDescription
key K
instance? Int
:default? D
:else? (() -> D)

Errors

IndexError if the instance is missing and no fallback is supplied.