UNPKG

xml2customjs

Version:

Library to custom convert an XML into a Javascript object or JSON

13 lines 404 B
"use strict"; Object.defineProperty(exports, "__esModule", { value: true }); exports.isObject = void 0; /** * This function returns true if the param is an object (not an array or any other type) * @param param * @returns boolean */ function isObject(param) { return Object.prototype.toString.call(param) === '[object Object]'; } exports.isObject = isObject; //# sourceMappingURL=is-object.js.map