to-pulse(number)

koadrobot/casts/to-pulse(number)

No description
to-pulse(number)
@/to-pulse(number)
INnumber
to-pulse(number)
IN
OUT
OUTpulse
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, getValue<input_IN>(ctx) != 0);
}