instance method
present?
Ruby on Rails 7.2.3
Since v2.2.3Signature
present?()
An object is present if it’s not blank.
@return [true, false]
Source
# File activesupport/lib/active_support/core_ext/object/blank.rb, line 25
def present?
!blank?
end
Defined in activesupport/lib/active_support/core_ext/object/blank.rb line 25
· View on GitHub
· Improve this page
· Find usages on GitHub
Defined in Object