* Return `true` if the given string contains a negative sign on the first character (on the far left). * * @example isNegativeStrict('1234.56') => false * @example isNegativeStrict('1234.56-') => false * @example isNegativeStrict('-1234.56') => true * @example isNe
(numericString, negativeSignCharacter = '-')
| 530 | * @returns {boolean} |
| 531 | */ |
| 532 | static isNegativeStrict(numericString, negativeSignCharacter = '-') { |
| 533 | return numericString.charAt(0) === negativeSignCharacter; |
| 534 | } |
| 535 | |
| 536 | /** |
| 537 | * Return `true` if the very first character is the opening bracket, and if the rest of the `valueString` also has the closing bracket. |
no outgoing calls
no test coverage detected