isBoolType property

bool get isBoolType

Returns true if type is bool.

Implementation

bool get isBoolType => type == bool;