Brandon W. answered 11/17/20
Tutor
5
(186)
Senior Software Engineer Specializing in Ruby / Ruby on Rails
You can use #present? method
''.present?
> false
nil.present?
> false
Brandon W. answered 11/17/20
Senior Software Engineer Specializing in Ruby / Ruby on Rails
You can use #present? method
Get a free answer to a quick problem.
Most questions answered within 4 hours.
Choose an expert and meet online. No packages or subscriptions, pay only for the time you need.