isNegative property

  1. @nonVirtual
bool isNegative

Returns true iff value represents a negative number, else false.

Implementation

@nonVirtual
// ignore: avoid_bool_literals_in_conditional_expressions
bool get isNegative => _supportsSigns ? msb : false;