def METHOD_NAME(func_id, args):
    _internal_assert(
        args.__len__() == 1 and isinstance(args[0], _expr.PrimExpr),
        "Only one expression can be cast",
    )
    return _expr.Cast(func_id, args[0])