and

xod/core/and

Outputs true if and only if all inputs are true
and
@/and
Outputs true if and only if all inputs are true
IN1boolean
IN2boolean (variadic)
and
OUT
IN1
IN2
OUTboolean

C++ implementation

#pragma XOD dirtieness disable

node {
    void evaluate(Context ctx) {
        auto a = getValue<input_IN1>(ctx);
        auto b = getValue<input_IN2>(ctx);
        emitValue<output_OUT>(ctx, a && b);
    }
}