Sanitizes the input to integer. Throws an error if the value is less than lower bound.
sanitizeInt(inputInt: string | number, lowerBound: number = 0): number| Name | Type | Description |
|---|---|---|
inputInt* | string | number | The input to be sanitized. |
lowerBound | number | Default: 0 |