Treatment fromBool

json/value::fromBool


Generics

◻ B: ToBool

Inputs

⇥ value: Stream<B>

Outputs

↦ json: Stream<Json> (json::Json)


Convert each bool-convertible value in the stream into a JSON boolean.

graph LR
     T("fromBool()")
     A["🟦 … 🟨"] -->|value| T
     T -->|json| B["true … false"]

     style A fill:#ffff,stroke:#ffff
     style B fill:#ffff,stroke:#ffff