flowstdlib 0.142.0

The standard library of functions and flows for 'flow' programs
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
function = "route"
source = "route.rs"
docs = "route.md"
type = "rust"

[[input]]
name = "data" # - the data flow we wish to control the flow if

[[input]]
name = "control" # - a boolean value to determine which output roue `data` is passed to
type = "boolean"

[[output]]
name = "true" # `if `control` is true `data` is routed here

[[output]]
name = "false" # if `control` is false `data` is routed here