def convert_to_array(layout, args, kwargs):
    out = ak.operations.convert.to_numpy(layout, allow_missing=False)
    if ((args == ()) and (kwargs == {})):
        return out
    else:
        return numpy.array(out, *args, **kwargs)
def convert_to_array(layout, args, kwargs):
    out = ak.operations.convert.to_numpy(layout, allow_missing=False)
    if ((args == ()) and (kwargs == {})):
        return out
    else:
        return numpy.array(out, *args, **kwargs)