Boolean Expressions

False values

false
nil

True values

  • Everything other value, including the following:
0
""
''
[]
{}