Methods
distance(item1, item2) → {number}
Parameters:
Name | Type | Description |
---|---|---|
item1 |
Array.<number> | |
item2 |
Array.<number> |
Returns:
- Type
- number
id() → {string}
Returns:
- Type
- string
Name | Type | Description |
---|---|---|
item1 |
Array.<number> | |
item2 |
Array.<number> |