.getKeys()

Description

GetKeys is a method that returns an array of keys from an object

Parameters

GetKeys takes an optional parameter of keys to return

Usage On Objects

obj = {a:1,b:2,c:3}
// setup the object

log obj.getKeys()
// returns ["a","b","c"]
// returns all keys

Last updated

Was this helpful?