Keyboard shortcuts

Press or to navigate between chapters

Press S or / to search in the book

Press ? to show this help

Press Esc to hide this help

Treatment tryToChar

std/conv::tryToChar


Generics

◻ T: TryToChar

Inputs

⇥ value: Stream<T>

Outputs

↦ into: Stream<Option<char>>


Try to turn data stream into char one.

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