Extracts record fields or tuple slot numbers from
array (many types
supported, including all Awkward Arrays and Records).
If the array contains nested records, only the outermost record is
queried. If it contains tuples instead of records, this function outputs
string representations of integers, such as
The records or tuples may be within multiple layers of nested lists.
If the array contains neither tuples nor records, this returns an empty list.