UNPKG

873 BJavaScriptView Raw
1"use strict";
2
3Object.defineProperty(exports, "__esModule", {
4 value: true
5});
6exports.default = void 0;
7
8function _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
10var _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};
21exports.default = _default;
\No newline at end of file