{“ast”:null,“code”:“function _typeof(obj) { 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); }nn// Copyright Joyent, Inc. and other Node contributors.n//n// Permission is hereby granted, free of charge, to any person obtaining an// copy of this software and associated documentation files (then// "Software"), to deal in the Software without restriction, includingn// without limitation the rights to use, copy, modify, merge, publish,n// distribute, sublicense, and/or sell copies of the Software, and to permitn// persons to whom the Software is furnished to do so, subject to then// following conditions:n//n// The above copyright notice and this permission notice shall be includedn// in all copies or substantial portions of the Software.n//n// THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESSn// OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OFn// MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. INn// NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM,n// DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT ORn// OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THEn// USE OR OTHER DEALINGS IN THE SOFTWARE.n// NOTE: These type checking functions intentionally don't use `instanceof`n// because it is fragile and can be easily faked with `Object.create()`.nfunction isArray(arg) {n if (Array.isArray) {n return Array.isArray(arg);n }nn return objectToString(arg) === '[object Array]';n}nnexports.isArray = isArray;nnfunction isBoolean(arg) {n return typeof arg === 'boolean';n}nnexports.isBoolean = isBoolean;nnfunction isNull(arg) {n return arg === null;n}nnexports.isNull = isNull;nnfunction isNullOrUndefined(arg) {n return arg == null;n}nnexports.isNullOrUndefined = isNullOrUndefined;nnfunction isNumber(arg) {n return typeof arg === 'number';n}nnexports.isNumber = isNumber;nnfunction isString(arg) {n return typeof arg === 'string';n}nnexports.isString = isString;nnfunction isSymbol(arg) {n return _typeof(arg) === 'symbol';n}nnexports.isSymbol = isSymbol;nnfunction isUndefined(arg) {n return arg === void 0;n}nnexports.isUndefined = isUndefined;nnfunction isRegExp(re) {n return objectToString(re) === '[object RegExp]';n}nnexports.isRegExp = isRegExp;nnfunction isObject(arg) {n return _typeof(arg) === 'object' && arg !== null;n}nnexports.isObject = isObject;nnfunction isDate(d) {n return objectToString(d) === '[object Date]';n}nnexports.isDate = isDate;nnfunction isError(e) {n return objectToString(e) === '[object Error]' || e instanceof Error;n}nnexports.isError = isError;nnfunction isFunction(arg) {n return typeof arg === 'function';n}nnexports.isFunction = isFunction;nnfunction isPrimitive(arg) {n return arg === null || typeof arg === 'boolean' || typeof arg === 'number' || typeof arg === 'string' || _typeof(arg) === 'symbol' || // ES6 symboln typeof arg === 'undefined';n}nnexports.isPrimitive = isPrimitive;nexports.isBuffer = Buffer.isBuffer;nnfunction objectToString(o) {n return Object.prototype.toString.call(o);n}”,“map”:null,“metadata”:{},“sourceType”:“module”}