AST inspection and construction utilities.
Check if a value is an AST node.
A value is considered an AST node if it is a non-null object carrying a nodeType property; this is a type guard that narrows to ASTNodeUnion.
nodeType
The value to test
true if value is an AST node, false otherwise
true
value
false
AST inspection and construction utilities.