IsDigit(
     string:string
)
bool

Arguments

string

String to test.

Return value

True if string consists only of digits.

Description

Returns True if string consists entirely of digit characters, otherwise returns False.

Example:

Output(IsDigit("12345"))
--> true

Output(IsDigit("123a5"))
--> false

See also:
IsAlpha
IsLower
IsPunct
IsSpace
IsUpper