attlaz-client 1.9.28 → 1.9.29
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.
- package/dist/Utils.js +1 -2
- package/package.json +1 -1
package/dist/Utils.js
CHANGED
|
@@ -1,7 +1,6 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
3
|
exports.Utils = void 0;
|
|
4
|
-
const util_1 = require("util");
|
|
5
4
|
class Utils {
|
|
6
5
|
static isNullOrUndefined(variable) {
|
|
7
6
|
return variable === null || variable === undefined;
|
|
@@ -10,7 +9,7 @@ class Utils {
|
|
|
10
9
|
return (input === true || input === 'true' || input === 1 || input === '1');
|
|
11
10
|
}
|
|
12
11
|
static isDate(value) {
|
|
13
|
-
return value !== null &&
|
|
12
|
+
return value !== null && value instanceof Date && !isNaN(value.getTime());
|
|
14
13
|
}
|
|
15
14
|
static parseRawDate(input) {
|
|
16
15
|
if (input !== null && input !== undefined) {
|