Video thumbnail for How To Check If Nil In Ruby

How To Check If Nil In Ruby

May 7, 2023
In Ruby, nil is a special object that represents the absence of a value or the lack of an object. It's an instance of the NilClass and there is only one nil