isExpression abstract method

IsExpression isExpression(
  1. Expression expression,
  2. Token isOperator,
  3. Token? notOperator,
  4. TypeAnnotation type,
)

Returns a newly created is expression. The notOperator can be null if the sense of the test is not negated.

Implementation

IsExpression isExpression(Expression expression, Token isOperator,
    Token? notOperator, TypeAnnotation type);