function hasTypeOfOperator(node) {
    var parent = node.parent;

    return parent.type === "UnaryExpression" && parent.operator === "typeof";
}
/**
 * Checks if the given node is the argument of a typeof operator.
 * @param {ASTNode} node The AST node being checked.
 * @returns {boolean} Whether or not the node is the argument of a typeof operator.
 */
Checks if the given node is the argument of a typeof operator.
@param {ASTNode} node The AST node being checked.
@returns {boolean} Whether or not the node is the argument of a typeof operator.
Checks if the given node is the argument of a typeof operator . @param { ASTNode } node The AST node being checked . @returns { boolean } Whether or not the node is the argument of a typeof operator .
function hasTypeOfOperator(node) {
    var parent = node.parent;
    return parent.type === "UnaryExpression" && parent.operator === "typeof";
}
function hasTypeOfOperator ( node ) { var parent = node . parent ; return parent . type === "UnaryExpression" && parent . operator === "typeof" ; }
Checks if the given node is the argument of a typeof operator.
Checks if the given node is the argument of a typeof operator .