lib/rules/no-unsupported-features/es-syntax.js
function isNotSupportingOn(node) {
        return aCase =>
            isNotSupportingVersion(aCase) &&
            (!aCase.test || aCase.test({ node, __proto__: testInfoPrototype }))
    }
function isNotSupportingOn(node) {
        return aCase =>
            isNotSupportingVersion(aCase) &&
            (!aCase.test || aCase.test({ node, __proto__: testInfoPrototype }))
    }
Define the predicate function to check whether a given case object is supported on the configured node version.
@param {Node} node The node which is reported.
@returns {function(aCase:{supported:string}):boolean} The predicate function.