function isOuterClass(variable, reference) {
    return (
        variable.defs[0].type === "ClassName" &&
        variable.scope.variableScope !== reference.from.variableScope
    );
}
function isOuterClass(variable, reference) {
    return (
        variable.defs[0].type === "ClassName" &&
        variable.scope.variableScope !== reference.from.variableScope
    );
}
function isOuterClass ( variable , reference ) { return ( variable . defs [ 0 ] . type === "ClassName" && variable . scope . variableScope !== reference . from . variableScope ) ; }
Checks whether or not a given variable is a class declaration in an upper function scope.

@param {eslint-scope.Variable} variable - A variable to check.
@param {eslint-scope.Reference} reference - A reference to check.
@returns {boolean} `true` if the variable is a class declaration.
Checks whether or not a given variable is a class declaration in an upper function scope .
Returns true if the variable is an outer class of the given reference