function fills a list
with the keys at a specific location in the hashmap
. Each key_value
argument must be a numeric or string expression matching the type specified when declaring the hashmap
. If no arguments are provided, the first-dimension keys are returned; if one argument is provided, the second-dimension keys are returned; and so on.
The argument list_name
is a numeric or string list whose contents will be cleared and then filled with the hashmap's keys. The type of the list must correspond to the type of keys at the specified location. If the dimension type is numeric
, then the list must be a numeric list. If the dimension type is string
, then the list must be a string list. In the case of all
, any numeric values added as keys to the hashmap will be converted to strings before being inserted in the string list.
The function returns the number of keys added to the list.