MCPcopy
hub / github.com/celery/celery / is_numeric_value

Function is_numeric_value

celery/utils/functional.py:447–448  ·  view source on GitHub ↗
(value)

Source from the content-addressed store, hash-verified

445
446
447def is_numeric_value(value):
448 return isinstance(value, (int, float)) and not isinstance(value, bool)

Callers 2

test_is_numeric_valueFunction · 0.90
tickMethod · 0.85

Calls

no outgoing calls

Tested by 1

test_is_numeric_valueFunction · 0.72

Used in the wild real call sites across dependent graphs

searching dependent graphs…