UNPKG

vue-app-sdk

Version:
25 lines (24 loc) 992 B
"use strict"; Object.defineProperties(exports, { __esModule: { value: true }, [Symbol.toStringTag]: { value: "Module" } }); const _LazyWrapper = require("./_LazyWrapper.cjs"); const _LodashWrapper = require("./_LodashWrapper.cjs"); const _baseLodash = require("./_baseLodash.cjs"); const isArray = require("./isArray.cjs"); const isObjectLike = require("./isObjectLike.cjs"); const _wrapperClone = require("./_wrapperClone.cjs"); var objectProto = Object.prototype; var hasOwnProperty = objectProto.hasOwnProperty; function lodash(value) { if (isObjectLike.default(value) && !isArray.default(value) && !(value instanceof _LazyWrapper.default)) { if (value instanceof _LodashWrapper.default) { return value; } if (hasOwnProperty.call(value, "__wrapped__")) { return _wrapperClone.default(value); } } return new _LodashWrapper.default(value); } lodash.prototype = _baseLodash.default.prototype; lodash.prototype.constructor = lodash; exports.default = lodash;