isBool property

bool get isBool

Whether this constant represents a boolean value.

Implementation

bool get isBool => this is ConstBool;