Atom

Null

Use null to represent an absent value. A dictionary lookup can return it when the key is missing. Check it before using the result if missing data is possible.

Check a missing field

This record has a name field and no nickname.

Atom
player = {name = 'Ada'}
print(player.nickname == null)
Output
true

The comparison tells you the nickname lookup produced no value.