lib/rules/prefer-arrow-callback.js
function checkMetaProperty(node, metaName, propertyName) {
    return node.meta.name === metaName && node.property.name === propertyName;
}
function checkMetaProperty(node, metaName, propertyName) {
    return node.meta.name === metaName && node.property.name === propertyName;
}
function checkMetaProperty ( node , metaName , propertyName ) { return node . meta . name === metaName && node . property . name === propertyName ; }
Checks whether or not a given MetaProperty node equals to a given value.
@param {ASTNode} node - A MetaProperty node to check.
@param {string} metaName - The name of `MetaProperty.meta`.
@param {string} propertyName - The name of `MetaProperty.property`.
@returns {boolean} `true` if the node is the specific value.
Checks whether or not a given MetaProperty node equals to a given value .