backupRoswaal has moved to roswaal.app. These pages are a backup copy.Go to roswaal.app

AndLuau✎

The last operand, or the first that is falsy. Not a boolean: a and b hands back one of the two, which is what Luau's and does. Brackets, in the Inspector, wraps the result in ( ); precedence is handled either way.

Pending review

and
  • the language itself, so it works in Roblox and in Lune
  • pure — no execution pins, wire it anywhere
  • takes 2 to 8 inputs, set per node
  • 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:any= true
  • B:any= true

Outputs

  • result:any

What it compiles to

luau
print(true and true)

Not reviewed yet