ballerina/lang.map : 0.0.0
Module Overview
The lang.map
module corresponds to the mapping
basic type.
Functions
[14]
'map | Applies a function each member of a map and returns a map of the result. |
entries | Returns a map containing [key, member] pair as the value for each key. |
filter | Selects the members from a map for which a function returns true. |
forEach | Applies a function to each member of a map. |
get | Returns the member of a map with given key. |
hasKey | Tests whether a map value has a member with a given key. |
iterator | Returns an iterator over a map. |
keys | Returns a list of all the keys of a map. |
length | Returns number of members of a map. |
reduce | Combines the members of a map using a combining function. |
remove | Removes a member of a map. |
removeAll | Removes all members of a map. |
removeIfHasKey | Removes a member of a map with a given key, if the map has member with the key. |
toArray | Returns a list of all the members of a map. |
Types
[2]
Type | A type parameter that is a subtype of |
Type1 | A type parameter that is a subtype of |