ak.typetracer.length_zero_if_typetracer#

Defined in awkward.typetracer on line 54.

ak.typetracer.length_zero_if_typetracer(array, *, highlevel=True, behavior=None)#
Parameters

Recursively touches the data of an array, before returning a length-zero NumPy-backed iff. the given array has a typetracer backend; otherwise, a shallow copy of the original array is returned.