Treatment tryToBool

std/conv::tryToBool


Generics

◻ T: TryToBool

Inputs

⇥ value: Stream<T>

Outputs

↦ into: Stream<Option<bool>>


Try to turn data stream into bool one.

This treatment manages faillible conversion to bool data type. If conversion is successful, an option with bool value is streamed, else the option is set to none.