lib/rules/no-implicit-coercion.js
function isNumeric(node) {
    return (
        node.type === "Literal" && typeof node.value === "number" ||
        node.type === "CallExpression" && (
            node.callee.name === "Number" ||
            node.callee.name === "parseInt" ||
            node.callee.name === "parseFloat"
        )
    );
}
function isNumeric(node) {
    return (
        node.type === "Literal" && typeof node.value === "number" ||
        node.type === "CallExpression" && (
            node.callee.name === "Number" ||
            node.callee.name === "parseInt" ||
            node.callee.name === "parseFloat"
        )
    );
}
function isNumeric ( node ) { return ( node . type === "Literal" && typeof node . value === "number" || node . type === "CallExpression" && ( node . callee . name === "Number" || node . callee . name === "parseInt" || node . callee . name === "parseFloat" ) ) ; }
Checks whether the result of a node is numeric or not
@param {ASTNode} node The node to test
@returns {boolean} true if the node is a number literal or a `Number()`, `parseInt` or `parseFloat` call
Checks whether the result of a node is numeric or not