to-boolean(pulse)

koadrobot/casts/to-boolean(pulse)

If Pulse received at UPD then out True else false
to-boolean(pulse)
@/to-boolean(pulse)
If Pulse received at UPD then out True else false
INpulse
to-boolean(pulse)
IN
OUT
OUTboolean
To use the node in your project you should have the koadrobot/casts library installed. Use the “File → Add Library” menu item in XOD IDE if you don’t have it yet. See Using libraries for more info.

C++ implementation

#pragma XOD dirtieness disable

struct State {
};

{{ GENERATED_CODE }}

void evaluate(Context ctx) 
{
    emitValue<output_OUT>(ctx, isInputDirty<input_IN>(ctx));
}