function isExtends(base, target) {
        if (target === void 0) { target = {}; }
        // Editor prototype.
        var _a = target.prototype, prototype = _a === void 0 ? null : _a;
        // End of prototype chain.
        if (!prototype) {
            return false;
        }
        // Compare constructors or/and prototype instance.
        return (prototype.constructor === base || prototype instanceof base || isExtends(base, Object.getPrototypeOf(prototype)));
    }
/**
     * Determine belonging of target to base type.
     *
     * @param base Base class.
     * @param target Class to be checked.
     * @return True when editor extends Editor; false otherwise.
     */
Determine belonging of target to base type.
@param base Base class.
@param target Class to be checked.
@return True when editor extends Editor; false otherwise.
Determine belonging of target to base type . @param base Base class . @param target Class to be checked . @return True when editor extends Editor ; false otherwise .
function isExtends(base, target) {
        if (target === void 0) { target = {}; }
        var _a = target.prototype, prototype = _a === void 0 ? null : _a;
        if (!prototype) {
            return false;
        }
        return (prototype.constructor === base || prototype instanceof base || isExtends(base, Object.getPrototypeOf(prototype)));
    }
function isExtends ( base , target ) { if ( target === void 0 ) { target = { } ; } var _a = target . prototype , prototype = _a === void 0 ? null : _a ; if ( ! prototype ) { return false ; } return ( prototype . constructor === base || prototype instanceof base || isExtends ( base , Object . getPrototypeOf ( prototype ) ) ) ; }
Determine belonging of target to base type.
Determine belonging of target to base type .
// Editor prototype. // End of prototype chain. // Compare constructors or/and prototype instance.