lib/rules/func-name-matching.js
function isPropertyCall(objName, funcName, node) {
            if (!node) {
                return false;
            }
            return node.type === "CallExpression" &&
                node.callee.object.name === objName &&
                node.callee.property.name === funcName;
        }
function isPropertyCall(objName, funcName, node) {
            if (!node) {
                return false;
            }
            return node.type === "CallExpression" &&
                node.callee.object.name === objName &&
                node.callee.property.name === funcName;
        }
function isPropertyCall ( objName , funcName , node ) { if ( ! node ) { return false ; } return node . type === "CallExpression" && node . callee . object . name === objName && node . callee . property . name === funcName ; }
Check whether node is a certain CallExpression.
@param {string} objName object name
@param {string} funcName function name
@param {ASTNode} node The node to check
@returns {boolean} `true` if node matches CallExpression
Check whether node is a certain CallExpression .