Treatment fromOptionBool
json/value::fromOptionBool
Generics
◻ B: ToBool
Inputs
⇥ value: Stream<Option<B>>
Outputs
↦ json: Stream<Json> (json::Json)
Convert each optional bool-convertible value in the stream into a JSON boolean, or null for none elements.
graph LR
T("fromOptionBool()")
A["〈🟦〉 … 〈none〉"] -->|value| T
T -->|json| B["true … null"]
style A fill:#ffff,stroke:#ffff
style B fill:#ffff,stroke:#ffff