lookup
lookup<
K>(key): <V>(m) =>Maybe<V>
Defined in: Utils/Dict.ts:119
Looks up a value by key, returning Some(value) if found and None if not.
Type Parameters
Section titled “Type Parameters”K
Parameters
Section titled “Parameters”K
Returns
Section titled “Returns”<
V>(m):Maybe<V>
Type Parameters
Section titled “Type Parameters”V
Parameters
Section titled “Parameters”ReadonlyMap<K, V>
Returns
Section titled “Returns”Maybe<V>