Treatment unwrapOr

std/ops/option/block::unwrapOr


Generics

◻ T (any)

Parameters

↳ var default: T

Inputs

⇥ option: Block<Option<T>>

Outputs

↦ value: Block<T>


Unwrap option block with default value

Unwrap blocking option, sending default value if option is none.