I would like to represent the typescript code "MyObj instanceOf MyClass" with the typescript compiler API.
I try to use the createBinary API as follow:
ts.createBinary(leftExpression,ts.SyntaxKind.InstanceOfKeyword, rightExpression);
How do I create the rightExpression?
The left and right expressions are identifiers, so the
createIdentifiermethod could be used: