function isNode(x) {
	return x !== null && typeof x === "object" && typeof x.type === "string";
}
Check whether the given value is an ASTNode or not.
@param {any} x The value to check.
@returns {boolean} `true` if the value is an ASTNode.