method

dig

rails 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.