canaryThese pages document the canary: an unreleased build. What they describe may not be in the version you have, and may change before it is.The stable build
Try it in your browsercanary Source

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

~= self
  • 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