isDigit

Description

Returns "true" if the provided argument str is a string containing only digits.

Parameters

Return Type

Boolean (true/false)

Examples

Example 1

wret = isDigit("2345"); print(wret);

Print true

Example 2

wret = isDigit("aaa2345f.ff"); print (wret );

Print false

Example 3

wret = isDigit("2.34"); print(wret);

Print false

See also