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

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