novo-elements 11.1.0-next.1 → 11.1.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
|
@@ -21674,13 +21674,19 @@ class Helpers {
|
|
|
21674
21674
|
}
|
|
21675
21675
|
}
|
|
21676
21676
|
/**
|
|
21677
|
-
* Checks to see if the object is
|
|
21677
|
+
* Checks to see if the object is undefined or null
|
|
21678
21678
|
*/
|
|
21679
21679
|
static isBlank(obj) {
|
|
21680
|
+
return Helpers.isNullOrUndefined(obj);
|
|
21681
|
+
}
|
|
21682
|
+
/**
|
|
21683
|
+
* Checks to see if the object is null or undefined
|
|
21684
|
+
*/
|
|
21685
|
+
static isNullOrUndefined(obj) {
|
|
21680
21686
|
return obj === undefined || obj === null;
|
|
21681
21687
|
}
|
|
21682
21688
|
/**
|
|
21683
|
-
* Checks to see if the object is
|
|
21689
|
+
* Checks to see if the object is undefined, null, an empty string, or an empty array
|
|
21684
21690
|
*/
|
|
21685
21691
|
static isEmpty(obj) {
|
|
21686
21692
|
return Helpers.isBlank(obj) || obj === '' || (Array.isArray(obj) && obj.length === 0);
|