reno.parser.parse_value#

reno.parser.parse_value(string)#

Try to parse out a float or int if possible, otherwise just return the string itself.

e.g. ‘5.0’, or ‘13’

Parameters:

string (str)

Return type:

float | int | str