function isParseInt(calleeNode) {
    switch (calleeNode.type) {
        case "Identifier":
            return calleeNode.name === "parseInt";
        case "MemberExpression":
            return calleeNode.object.type === "Identifier" &&
                calleeNode.object.name === "Number" &&
                calleeNode.property.type === "Identifier" &&
                calleeNode.property.name === "parseInt";

        // no default
    }

    return false;
}
function isParseInt(calleeNode) {
    switch (calleeNode.type) {
        case "Identifier":
            return calleeNode.name === "parseInt";
        case "MemberExpression":
            return calleeNode.object.type === "Identifier" &&
                calleeNode.object.name === "Number" &&
                calleeNode.property.type === "Identifier" &&
                calleeNode.property.name === "parseInt";

        // no default
    }

    return false;
}
function isParseInt ( calleeNode ) { switch ( calleeNode . type ) { case "Identifier" : return calleeNode . name === "parseInt" ; case "MemberExpression" : return calleeNode . object . type === "Identifier" && calleeNode . object . name === "Number" && calleeNode . property . type === "Identifier" && calleeNode . property . name === "parseInt" ; // no default } return false ; }
------------------------------------------------------------------------------ Helpers ------------------------------------------------------------------------------ 
Checks to see if a CallExpression's callee node is `parseInt` or
`Number.parseInt`.
@param {ASTNode} calleeNode The callee node to evaluate.
@returns {boolean} True if the callee is `parseInt` or `Number.parseInt`,
false otherwise.
------------------------------------------------------------------------------ Helpers ------------------------------------------------------------------------------ Checks to see if a CallExpression s callee node is parseInt or Number . parseInt .
Determines if a node is an integer