node_modules/eslint/lib/rules/array-callback-return.js
/**
 * Checks a given node is a MemberExpression node which has the specified name's
 * property.
 *
 * @param {ASTNode} node - A node to check.
 * @returns {boolean} `true` if the node is a MemberExpression node which has
 *      the specified name's property
 */
Checks a given node is a MemberExpression node which has the specified name's
property.

@param {ASTNode} node - A node to check.
@returns {boolean} `true` if the node is a MemberExpression node which has
the specified name's property
Checks a given node is a MemberExpression node which has the specified name ' s property . @param { ASTNode } node - A node to check . @returns { boolean } ` true ` if the node is a MemberExpression node which has the specified name ' s property
function isTargetMethod(node) {
    return (
        node.type === "MemberExpression" &&
        TARGET_METHODS.test(astUtils.getStaticPropertyName(node) || "")
    );
}
function isTargetMethod ( node ) { return ( node . type === "MemberExpression" && TARGET_METHODS . test ( astUtils . getStaticPropertyName ( node ) || "" ) ) ; }
Checks a given node is a MemberExpression node which has the specified name's
 property.
Checks a given node is a MemberExpression node which has the specified name ' s property .