vue-app-sdk
Version:
19 lines (18 loc) • 699 B
JavaScript
;
Object.defineProperties(exports, { __esModule: { value: true }, [Symbol.toStringTag]: { value: "Module" } });
const _LazyWrapper = require("./_LazyWrapper.cjs");
const _getData = require("./_getData.cjs");
const _getFuncName = require("./_getFuncName.cjs");
const wrapperLodash = require("./wrapperLodash.cjs");
function isLaziable(func) {
var funcName = _getFuncName.default(func), other = wrapperLodash.default[funcName];
if (typeof other != "function" || !(funcName in _LazyWrapper.default.prototype)) {
return false;
}
if (func === other) {
return true;
}
var data = _getData.default(other);
return !!data && func === data[0];
}
exports.default = isLaziable;