Test if a node is an AssertsKeyword.
AssertsKeyword
Whether the given node appears to be an AssertsKeyword.
With TypeScript v5, in favor of typescript's isAssertsKeyword.
isAssertsKeyword
declare const node: ts.Node;if (isAssertsKeyword(node)) { // ...} Copy
declare const node: ts.Node;if (isAssertsKeyword(node)) { // ...}
Test if a node is an
AssertsKeyword
.