Why Gemfury? Push, build, and install  RubyGems npm packages Python packages Maven artifacts PHP packages Go Modules Debian packages RPM packages NuGet packages

Repository URL to install this package:

Details    
exotic / dist / mobx / is / isComputed.js
Size: Mime:
"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
const isObj_1 = require("../../types/obj/check/isObj");
const deps_1 = require("../deps");
const isComputedAdministration = deps_1.createPredicateForProperty('Computed');
function isComputed(x) {
    if (isObj_1.isObj(x) === false) {
        return false;
    }
    else if (isComputedAdministration(x)) {
        const $mobx = deps_1.toMobxSymbol(x);
        return x[$mobx] === true;
    }
    else {
        return false;
    }
}
exports.isComputed = isComputed;
//# sourceMappingURL=isComputed.js.map