entries function:
- Can also be called as
to_list
Get the list of all the entries of an object. Each item of the list will be an object with key and value entries
Examples:
- running:
(entries {"key-1": 1, "key-2": false})will give:[{"value": 1, "key": "key-1"}, {"value": false, "key": "key-2"}]
- running:
(entries [1, 2, 4])will return nothing