atMax property

bool atMax

Checks if clamping is required and value is equal to max.

Implementation

bool get atMax => clamp && value == max;