#keysFrom
Returns an array of the property names of an object.
#keysFrom(object)Parameters
Section titled “Parameters”| Name | Type | Description |
|---|---|---|
object |
path | object |
The object to read. |
Returns
Section titled “Returns”array
Examples
Section titled “Examples”Property names
Section titled “Property names”{ "obj": { "a": 1, "b": 2 }}{ "result": "#keysFrom($.obj)"}{ "result": [ "a", "b" ]}