Not Equal to SelfLuau✎
True only for NaN, which is the one value not equal to itself — the check for a number that came out of `0/0` or a normalised zero vector. Luau has no `isnan`.
Pending review
- the language itself, so it works in Roblox and in Lune
- pure — no execution pins, wire it anywhere
- names its result — Result name in the Inspector is the local it binds, and a Declare Local reading that result makes a second one: see Variables and locals
Inputs
- a:anymust be wired
Outputs
- result:boolean
What it compiles to
luau
print(a ~= a)
Not reviewed yet