ntloss.utils¶
ntloss.utils
¶
is_number(something: Any, finite: bool = True) -> bool
¶
Check whether something is convertible to a float
Parameters:
Name | Type | Description | Default |
---|---|---|---|
something
|
Any
|
something to test for float casting. |
required |
Returns:
Type | Description |
---|---|
bool
|
Whether or not it's a number |