Utility module
- Source:
Methods
(static) hasDuplicatePositions(pins) → {boolean}
- Source:
Return true if duplicate pins are found
Parameters:
Name | Type | Description |
---|---|---|
pins |
Array.<Array> | Array of pins e.g. [[1,1], [2,2], [4,4]] |
Returns:
- Type
- boolean
(static) isNumber(input) → {boolean}
- Source:
Returns true if argument is a number
Parameters:
Name | Type | Description |
---|---|---|
input |
any |
Returns:
- Type
- boolean
(static) logger(message, severity)
- Source:
- To Do:
-
- Do something with severity
Logs an error message along with its severity
Parameters:
Name | Type | Description |
---|---|---|
message |
string | |
severity |
number |