types
tergite_autocalibration.utils.misc.types
Functions:
| Name | Description |
|---|---|
is_bool |
Checks whether a given string could be parsed to bool |
is_none_str |
Check whether a given string is None. |
safe_str_to_bool_int_float |
Converts a string to the given type |
str_to_bool |
Casts a string to bool, can be either upper or lower case |
is_bool
Checks whether a given string could be parsed to bool
Parameters:
| Name | Type | Description | Default |
|---|---|---|---|
s
|
str
|
String to be parsed |
required |
Returns: