1 | "use strict";
|
2 |
|
3 | Object.defineProperty(exports, "__esModule", {
|
4 | value: true
|
5 | });
|
6 | exports.default = void 0;
|
7 |
|
8 | function _typeof(obj) { "@babel/helpers - typeof"; if (typeof Symbol === "function" && typeof Symbol.iterator === "symbol") { _typeof = function _typeof(obj) { return typeof obj; }; } else { _typeof = function _typeof(obj) { return obj && typeof Symbol === "function" && obj.constructor === Symbol && obj !== Symbol.prototype ? "symbol" : typeof obj; }; } return _typeof(obj); }
|
9 |
|
10 | var _default = {
|
11 | nullOrUndefined: function nullOrUndefined(value) {
|
12 | return value === null || value === undefined;
|
13 | },
|
14 | object: function object(value) {
|
15 | return value !== null && _typeof(value) === 'object' && Object.prototype.toString.call(value) === '[object Object]';
|
16 | },
|
17 | array: function array(value) {
|
18 | return Array.isArray(value);
|
19 | }
|
20 | };
|
21 | exports.default = _default; |
\ | No newline at end of file |