Builtin Library
README.md
math.eq (procNode)
Whether a equals b: 1 where it does, 0 where it does not.
The eq operation of the authoring surface, called through the Luau node on proc.fieldc.operators. Operands are numbers, vectors, Columns or Fields. When every operand is a plain number or vector the answer is the plain result, folded where the node cooks; otherwise the answer is a Field: a template over its operands that whatever reads it evaluates in one dispatch together with the chain around it. Nothing dispatches for this node alone. Over numbers and animated values the answer is an animated value: the operation at every time.
Vectors are equal when every component is, a narrower one reading 0 for the components it lacks. Two texts compare as texts.
Inputs
a(Value, default 0). The left value.b(Value, default 0). The right value.
Outputs
value. 1 or 0.
local value = g.math.eq(g.math.vec3(1, 2, 3), g.math.vec3(1, 2, 3)) -- 1