instance method
key?
Ruby on Rails 5.2.8.1
Since v5.2.8.1Signature
key?(key)
Returns true if the given key is present in the parameters.
Source
# File actionpack/lib/action_controller/metal/strong_parameters.rb, line 169
Defined in actionpack/lib/action_controller/metal/strong_parameters.rb line 169
· View on GitHub
· Improve this page
· Find usages on GitHub
Defined in ActionController::Parameters