Checks whether the target string is a decimal
target
expect(isDecimal('-.25').value).toBeTruthy()
The target string
The options
Generated using TypeDoc
Checks whether the
target
string is a decimalExample