MCPcopy Create free account
hub / github.com/StackStorm/st2 / _cast_integer

Function _cast_integer

st2common/st2common/util/casts.py:54–57  ·  view source on GitHub ↗
(x)

Source from the content-addressed store, hash-verified

52
53
54def _cast_integer(x):
55 x = _cast_none(x)
56 x = int(x)
57 return x
58
59
60def _cast_number(x):

Callers

nothing calls this directly

Calls 1

_cast_noneFunction · 0.85

Tested by

no test coverage detected