type_param_demo.Map[KV].get(key: K-> V | None[source]
type_param_demo.Map[KV].get(key: Kdefault: V-> V
type_param_demo.Map[KV].get[T](key: Kdefault: T-> V | T

Return the mapped value, or the specified default.

Parameters:
key: K

Key to retrieve.

default: V
default: T

Default value to return if key is not present.


Last update: Nov 16, 2024