=
Equal¶
x=y =[x;y]
Returns 1b
where (atoms of) x
and y
are equal.
q)(3;"a")=(2 3 4;"abc")
010b
100b
Equal is an atomic function.
Not Equal <>
Comparison
Q for Mortals: ยง4.3.1 Equality = and Disequality <>
=
Equal¶x=y =[x;y]
Returns 1b
where (atoms of) x
and y
are equal.
q)(3;"a")=(2 3 4;"abc")
010b
100b
Equal is an atomic function.
Not Equal <>
Comparison
Q for Mortals: ยง4.3.1 Equality = and Disequality <>