Keys getter
Last updated
Last updated
[data/dictionary/Keys getter]
Gets all keys from the dictionary as an array. Example A:
{ "first": 1, "third": 3, "fifth": 5 } @0 received via dict
keys
sends [ "first", "third", "fifth" ]@0
More: https://github.com/Cranq-io/cranq-tutorials/tree/main/reference/3_querying_data/3_1_getters
Keywords: dictionary, dict, get, keys
dict: {string: any}
Receives to dictionary to extract the keys from. Example: { "first": 1, "third": 3, "fifth": 5 }
keys: string[]
Sends the keys of the dictionary as an array. Example: [ "first", "third", "fifth" ]