Nil The Nil type is used to represent the absence of a value, similar to null in other languages. It only has a single value: nil