public IObjectBase GetIObjectBase() { if (var.type == VarType.Object) { return(IObjectBase.GetFromVarObj(var.data.O)); } else { return(null); } }