- Index
- »
- axon
- »
- func:isDigit
def
func:isDigit
isDigit(num, radix: 10)
Is number a digit in the specified radix. A decimal radix of ten returns true for 0-9. A radix of 16 also returns true for a-f and A-F.
Examples:
isDigit("5".get(0)) >> true isDigit("A".get(0)) >> false isDigit("A".get(0), 16) >> true