nil « Language Basics « Ruby






1.Compact an array: it removes the nils
2.Assign nil to array element
3.Is it a nil value
4.If x is non-nil
5.see if it is nil: