public static XVar create_function_assignment(XVar func, XVar _params, XVar obj = null) { var ret = XVar.Array(); ret["func"] = (XVar)MVCFunctions.AssignFunction(func, _params, obj); return(ret); }