utils
¶
Functions:
is_float
¶
Parameters
value : str
String to evaluate; surrounding whitespace is ignored.
Returns
Returns
bool
True if the string parses as a float and is not a plain integer; False otherwise.
Notes
Notes
Accepts standard float formats, including scientific notation
(e.g., "1e-3"). Plain integers (optionally signed) and empty strings
return False.
parameters:
value:
type: str
description: Value for value.
returns:
type: bool
description: Return value.