fuzzyContains

fun Range<Double>.fuzzyContains(value: Double, tolerance: Double): Boolean

Returns true, if the value is fuzzily contained within this Range by the tolerance.

Return

true, if value is contained

Parameters

value

value to be checked

tolerance

allowed tolerance fuzziness