select
Look up select, the Arc built-in function that sends each boolean value to a true or a false routing entry.
select is a built-in function, so it needs no import.
select
Sends each input value to its true output or its false output.
- Input -> a
boolvalue from->. Another type, such asu8, is an error. A=>intoselectgives the error'=>' cannot feed select{}, use '->'. - Outputs ->
trueandfalse, bothu8. Eachtrueinput value emits 1 ontrue. Eachfalseinput value emits 1 onfalse. - Runs -> on each new input value.
select has no parameters. Connect its outputs with an
output routing table. Each entry is optional.
vlv_open -> select{} -> {
true: 1 -> open_cmd,
false: 1 -> close_cmd
}For more than two outputs, write a function with named outputs. See
functions. select works the same on the
Core and on a Driver.