Treatment get

std/data/map/block::get


Generics

◻ T (any)

Parameters

↳ var key: string

Inputs

⇥ map: Block<Map> (std/data/map::Map)

Outputs

↦ value: Block<Option<T>>


Receive one Map block and emit the value stored under key as Option<T> on value.

Emits none if the key is absent or the stored value does not match type T.