File tree Expand file tree Collapse file tree 1 file changed +1
-5
lines changed
Expand file tree Collapse file tree 1 file changed +1
-5
lines changed Original file line number Diff line number Diff line change @@ -2263,8 +2263,7 @@ defmodule Kernel do
22632263 iex> get_in(users, ["john", :age])
22642264 27
22652265
2266- In case any of the entries in the middle returns `nil`, `nil` will
2267- be returned as per the `Access` module:
2266+ In case keys any of the keys returns `nil`, `nil` will be returned:
22682267
22692268 iex> users = %{"john" => %{age: 27}, "meg" => %{age: 23}}
22702269 iex> get_in(users, ["unknown", :age])
@@ -2280,9 +2279,6 @@ defmodule Kernel do
22802279 * a function to be invoked next
22812280
22822281 This means `get_in/2` can be extended to provide custom lookups.
2283- The downside is that functions cannot be stored as keys in the accessed
2284- data structures.
2285-
22862282 In the example below, we use a function to get all the maps inside
22872283 a list:
22882284
You can’t perform that action at this time.
0 commit comments