fn_isEmpty 함수 보완

This commit is contained in:
KNKIM 2021-11-01 10:19:19 +09:00
parent 5c8b212e3f
commit 63b313f6b2

View File

@ -147,6 +147,7 @@ function fn_isEmpty(value) {
if(value == null) return true; if(value == null) return true;
if(typeof value == "undefined") return true; if(typeof value == "undefined") return true;
if(typeof value == "string" && value == "") return true; if(typeof value == "string" && value == "") return true;
if(value == "null") return true;
if(Array.isArray(value) && value.length < 1) return true; if(Array.isArray(value) && value.length < 1) return true;
return false; return false;