Skip to content

Latest commit

 

History

History
18 lines (12 loc) · 262 Bytes

true_false_nil.md

File metadata and controls

18 lines (12 loc) · 262 Bytes

True, False, and Nil

  • true and false are the two Boolean values, and they represent truth and falsehood, yes and no, on and off.
  • nil is a special value to indicate the absence of value.

Examples:

true
=> true

false
=> false

nil
=> nil