ak.is_tuple

Defined in awkward.operations.describe on line 269.

ak.is_tuple(array)
Parameters

array (ak.Array, ak.Record, ak.layout.Content, ak.layout.Record, ak.ArrayBuilder, ak.layout.ArrayBuilder) – Array or record to check.

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.