nltk.text_type.isdecimal

text_type.isdecimal() → bool

Return True if there are only decimal characters in S, False otherwise.