filter/2
filter(map, fun)Returns a map containing only those pairs from map for which fun returns a truthy value.
fun receives the key and value of each of the elements in the map as a key-value pair.
filter(map, fun)Returns a map containing only those pairs from map for which fun returns a truthy value.
fun receives the key and value of each of the elements in the map as a key-value pair.