Test if a node is an UnparsedSourceText.
UnparsedSourceText
Whether the given node appears to be an UnparsedSourceText.
With TypeScript v5
declare const node: ts.Node;if (isUnparsedSourceText(node)) { // ...} Copy
declare const node: ts.Node;if (isUnparsedSourceText(node)) { // ...}
Test if a node is an
UnparsedSourceText
.