function hasTypeOfOperator(node) {
	const 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.