get_keys [function]
get_keys( iterable var )
returns an array of keys found in the iterable object var
or returns null and emits a warning on failure
var
must be an iterable object (has interface OP_CONVERT defined and successfully handles a CONVOP_TOITER request) - such objects arearray
,dict
,map
andio_dir
get_keys( [5,7,0] ); // returns [0,1,2] get_keys( {b=5,a=2} ); // returns ["b","a"]