Skip to main content

Function: isCloseToValue()

isCloseToValue(a, b, allowableDistance): boolean

Parameters​

a​

number

The first value.

b​

number

The second value.

allowableDistance​

number

Returns​

boolean

Returns true if two values are within a distance to each other.