zl程序教程

您现在的位置是:首页 >  工具

当前栏目

qt中判断对象是否为空的方式

Qt对象 方式 判断 是否 为空
2023-09-11 14:16:46 时间
  1. if(typeof obj == "undefined" || obj == null || obj == ""){

  2. return true;

  3. }else{

  4. return false;

  5. }

  6.  
  7. if(typeof csz2 != "undefined" && csz2 != null && csz2 != ""){

  8.  
  9. }