Returns detailed information about each entry in a map or list, including
the key (or index) and value for each item. This provides more information
than am_values() alone.
Value
A list of lists, where each inner list has fields:
- key
For maps: the character key. For lists: the 1-based integer index.
- value
The value at this entry.
Note
When called on a text object, this iterates individual characters as
list items. Use am_text_content() to retrieve text as a string instead.