ray.serve.schema.APIType.isdigit#

APIType.isdigit()#

Return True if the string is a digit string, False otherwise.

A string is a digit string if all characters in the string are digits and there is at least one character in the string.