beta
cables is under heavy development.
There might be one or another bug, please let us know about it!
Ops.Value.Gate

Gate
op id:594105c8-1fdb-4f3c-bbd5-29b9ad6b33e0
Let’s a value through only if control bool is true, like a gate

summary (oneliner)

This op is inspired by a Relay, an electrical component, which is used to control a (big) voltage using a small control voltage.

So basically what this op does it to only let the input value through if Pass Through is set to true.

doc

issues

youtube id

collections

related ops

Inputs

Value In (Number)

The value to let through


Pass Through (Number)

Control bool, if true Value In will be let through to Value Out


Outputs

Value Out (Number)

Same value as Value In if Pass Through is set to true


Credits

Caught a mistake or want to contribute to the documentation?


Edit this documentcancel save

Examples using Gate

Public Patches using Gate