IntToleranceExtension extension

Extension on int to support isWithinTolerance

on

Methods

isWithinTolerance(int target, int tolerance) bool

Available on int, provided by the IntToleranceExtension extension

Checks if this integer is within a fixed tolerance of the target value.