ray.serve.schema.APIType.isdecimal#

APIType.isdecimal()#

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

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