* Return the currently used value from the history table. * * @returns {string|number} * @private
()
| 1824 | * @private |
| 1825 | */ |
| 1826 | _historyTableCurrentValueUsed() { |
| 1827 | let indexToUse = this.historyTableIndex; |
| 1828 | if (indexToUse < 0) { |
| 1829 | indexToUse = 0; |
| 1830 | } |
| 1831 | |
| 1832 | let result; |
| 1833 | if (AutoNumericHelper.isUndefinedOrNullOrEmpty(this.historyTable[indexToUse])) { |
| 1834 | result = ''; |
| 1835 | } else { |
| 1836 | result = this.historyTable[indexToUse].value; |
| 1837 | } |
| 1838 | |
| 1839 | return result; |
| 1840 | } |
| 1841 | |
| 1842 | /** |
| 1843 | * Parse the `styleRules` option and run the test for each given rules, either pre-defined ones like `positive`, `negative` and `ranges`, or user defined callbacks within the `userDefined` attribute. |
no test coverage detected