sc_eq
Short-circuit equality (scalar context).
Syntax
Section titled “Syntax”c = sc_eq(A, B)Description
Section titled “Description”Scalar-context short-circuit equality test. Returns a single boolean — does not produce an array even when inputs are arrays. Used by == in conditional expressions like if A == B. Companion to eq which returns the elementwise array.
Example
Section titled “Example”sc_eq(3, 3) % true