Differences between nil, empty and blank
Suresh Raj Bhattarai
4:53 AM
nil? - checks to see if variable is referencing an object or not
empty? - may be used to check on various object types like empty string "" or empty array []
Subscribe to:
Post Comments
(
Atom
)

No comments :
Post a Comment