+
+ static cloneJSonDocument(jsonDocument) {
+ return JSON.parse(JSON.stringify(jsonDocument));
+ }
+
+ static isUndefined(value) {
+ if (typeof value === 'undefined') {
+ return true;
+ }
+ return false;
+ }
+
+ static isEmptyArray(object) {
+ if (Array.isArray(object) && object.length > 0) {
+ return false;
+ }
+ return true;
+ }