Part 2 of 5 · Chapter 2 of 4

Names, Values, and the Only Two Things That Are False

Luau agrees with most languages about what a variable is and disagrees sharply about what counts as false. Hand it a zero and an empty string, and find that it treats both as true.

Beginner10 min read

Make a free account to read on

Every chapter is free — an account is how your progress, XP, and streak follow you from your laptop to your phone, and how you show up on the leaderboard. No payment, no trial.