Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/celery/celery
/ is_numeric_value
Function
is_numeric_value
celery/utils/functional.py:504–505 ·
view source on GitHub ↗
(value)
Source
from the content-addressed store, hash-verified
502
503
504
def
is_numeric_value(value):
505
return
isinstance(value, (int, float)) and not isinstance(value, bool)
Callers
2
test_is_numeric_value
Function · 0.90
tick
Method · 0.85
Calls
no outgoing calls
Tested by
1
test_is_numeric_value
Function · 0.72