Is InfiniteLuau✎

True for math.huge and -math.huge. False for NaN.

Pending review

Is Infiniteboolean0A
  • part of 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:number= 0

Outputs

  • result:boolean

What it compiles to

luau
print(math.isinf(0))

Not reviewed yet