String.prototype.trim = function () {
        return this.replace(/(^\s*)|(\s*$)/g, '');
 }

function isEmpty(obj) {
     if (typeof obj === "undefined" || obj == null || obj.trim() == "") {
            return true;
      } else {
            return false;
      }
}

 

相关文章:

  • 2022-01-01
  • 2021-12-04
  • 2021-12-04
  • 2021-12-04
  • 2021-11-15
  • 2022-02-21
  • 2022-02-04
猜你喜欢
  • 2021-12-14
  • 2022-12-23
  • 2022-02-10
  • 2021-11-27
  • 2021-11-04
相关资源
相似解决方案