Map.take/2

defmodule Map do
  def take(map, keys)
end

Returns a new map with all the key-value pairs in map where the key is in keys.

If keys contains keys that are not in map, they’re simply ignored.