Documentation
Reference
2.1.56 (current version)
collection
interactivityModel
Interfaces

util.math.areEqual

Static function.

Compares two points with an error allowance.

Returns result of comparison.

{ Boolean } util.math.areEqual(first, second[, diff])

Parameters:

ParameterDefault valueDescription
first*
[no-highlight[

* Mandatory parameter/option.

]no-highlight]

Type: Number[]

Array for comparison.

second*
[no-highlight[

* Mandatory parameter/option.

]no-highlight]

Type: Number[]

Array to compare.

diff

Type: Number

Precision of comparison.

* Mandatory parameter/option.