klyn.String.isDigit
method
public isDigit() as Boolean:
Description

Returns true if all characters are Unicode digits.

Returns

true when the string is digit-only and non-empty.

Example
assert "123".isDigit()
assert "١٢٣".isDigit()