keys

keys ( map array ) : list

Returns keys list of an associative array.

Example


list = ["a":1, "b":3, "d":15]
console( keys(list) ) // -> ["a", "b", "d"]

Parameters

array

an associative array