lib/rules/one-var.js
function isRequire(decl) {
            return decl.init && decl.init.type === "CallExpression" && decl.init.callee.name === "require";
        }
function isRequire(decl) {
            return decl.init && decl.init.type === "CallExpression" && decl.init.callee.name === "require";
        }
function isRequire ( decl ) { return decl . init && decl . init . type === "CallExpression" && decl . init . callee . name === "require" ; }
Check if a variable declaration is a require.
@param {ASTNode} decl variable declaration Node
@returns {bool} if decl is a require, return true; else return false.
@private
Check if a variable declaration is a require .