isEqualityOperator property Null safety

bool isEqualityOperator

Return true if this type of token represents an equality operator.

Implementation

bool get isEqualityOperator =>
    this == TokenType.BANG_EQ || this == TokenType.EQ_EQ;