Treatment flatten

flow/vec/bool::flatten


Inputs

⇥ vector: Stream<Vec<bool>>

Outputs

↦ value: Stream<bool>


Flatten a stream of Vec<bool>.

All the input vectors are turned into continuous stream of scalar values, keeping order.

graph LR
     T("flatten()")
     B["[🟦 🟦][🟦][🟦 🟦 🟦]"] -->|vector| T
     
     T -->|value| O["🟦 🟦 🟦 🟦 🟦 🟦"]

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