diff --git a/utils/StringUtil.js b/utils/StringUtil.js index 3c56670..68e222f 100644 --- a/utils/StringUtil.js +++ b/utils/StringUtil.js @@ -37,3 +37,15 @@ export function isEmpty(_value) { return true } } + +export function isNull(_value) { + if (typeof _value == "undefined" || _value == null || _value == "") { + return true; + } else { + return false; + } +} + +export function isNotNull(_value) { + return !isNull(_value); +} \ No newline at end of file