Constructor
new Limits(min, max, matrix)
- Source:
Parameters:
Name | Type | Description |
---|---|---|
min |
number | Minimum number of columns and rows |
max |
number | Maximum number of columsn and rows |
matrix |
string | 'x' separated string. For example |
Classes
Methods
defined() → {boolean}
Checks if matrix defined in correct form
- Source:
Returns:
true if defined false otherwise
- Type
- boolean
exceeded() → {boolean}
Checks if columns and rows are in defined minimum and maximum range.
- Source:
Returns:
true on exceed
- Type
- boolean