method
dig
v8.1.1 -
Show latest stable
- Class:
ActionDispatch::Request::Session
dig(*keys)public
Returns the nested value specified by the sequence of keys, returning `nil` if any intermediate step is `nil`.
dig(*keys)Returns the nested value specified by the sequence of keys, returning `nil` if any intermediate step is `nil`.