lsIsNumeric

Determines whether a string is a valid representation of a
number in the current locale.

lsIsNumeric(String) → returns boolean

lsIsNumeric Argument Reference

String string
Required

Examples
Sample code invoking the lsIsNumeric function

Check whether the string is number or not in locale

lsIsNumeric('Ten')

Expected Result: NO

Check whether the string is number or not in locale

lsIsNumeric('4678')

Expected Result: YES


Fork me on GitHub