ak.is_tuple#

Defined in awkward.operations.ak_is_tuple on line 12.

ak.is_tuple(array)#
Parameters:

array – Array-like data (anything ak.to_layout recognizes).

If array is a record, this returns True if the record is a tuple. If array is an array, this returns True if the outermost record is a tuple.