isExpression method

bool isExpression()

Checks if the node is an expression.

Implementation

bool isExpression() => exprTypes.contains(type);