MCPcopy Create free account
hub / github.com/davidaurelio/hashids-python / _is_str

Function _is_str

hashids.py:18–20  ·  view source on GitHub ↗

Returns whether a value is a string.

(candidate)

Source from the content-addressed store, hash-verified

16
17
18def _is_str(candidate):
19 """Returns whether a value is a string."""
20 return isinstance(candidate, StrType)
21
22
23def _is_uint(number):

Callers 1

decodeMethod · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected