Navigation
Synopsis The range (set of values that correspond to its keys) of a map.
Function set[&V] range(map[&K, &V] M)
Usage import Map;
Description Returns the range (set of values) of map M.
Examples
rascal>import Map;
ok
rascal>range(("apple": 1, "pear": 2));
set[int]: {1,2}
Is this page unclear, or have you spotted an error? Please add a comment below and help us to improve it. For all other questions and remarks, visit ask.rascal-mpl.org.