lib/rules/no-use-before-define.js
function isOuterVariable(variable, reference) {
    return (
        variable.defs[0].type === "Variable" &&
        variable.scope.variableScope !== reference.from.variableScope
    );
}
function isOuterVariable(variable, reference) {
    return (
        variable.defs[0].type === "Variable" &&
        variable.scope.variableScope !== reference.from.variableScope
    );
}
function isOuterVariable ( variable , reference ) { return ( variable . defs [ 0 ] . type === "Variable" && variable . scope . variableScope !== reference . from . variableScope ) ; }
Checks whether or not a given variable is a variable 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 variable declaration.
Checks whether or not a given variable is a variable declaration in an upper function scope .