src/aria/core/JsonTypesCheck.js
function (parentType, childType) {
        if (!jv._options.checkInheritance) {
            return true;
        }
        var typeRef = childType;
        while (!typeRef[jv._MD_BUILTIN]) {
            if (parentType == typeRef) {
                return true;
            }
            typeRef = typeRef[jv._MD_PARENTDEF];
        }
        jv._logError(jv.INHERITANCE_EXPECTED, [childType[jv._MD_TYPENAME], parentType[jv._MD_TYPENAME]]);
        return false;
    }
function (parentType, childType) {
        if (!jv._options.checkInheritance) {
            return true;
        }
        var typeRef = childType;
        while (!typeRef[jv._MD_BUILTIN]) {
            if (parentType == typeRef) {
                return true;
            }
            typeRef = typeRef[jv._MD_PARENTDEF];
        }
        jv._logError(jv.INHERITANCE_EXPECTED, [childType[jv._MD_TYPENAME], parentType[jv._MD_TYPENAME]]);
        return false;
    }
function ( parentType , childType ) { if ( ! jv . _options . checkInheritance ) { return true ; } var typeRef = childType ; while ( ! typeRef [ jv . _MD_BUILTIN ] ) { if ( parentType == typeRef ) { return true ; } typeRef = typeRef [ jv . _MD_PARENTDEF ] ; } jv . _logError ( jv . INHERITANCE_EXPECTED , [ childType [ jv . _MD_TYPENAME ] , parentType [ jv . _MD_TYPENAME ] ] ) ; return false ; }
Check that childType inherits from parentType and log any error.
@private
Check that childType inherits from parentType and log any error .