Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
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
18
def
_is_str(candidate):
19
""
"Returns whether a value is a string."
""
20
return
isinstance(candidate, StrType)
21
22
23
def
_is_uint(number):
Callers
1
decode
Method · 0.85
Calls
no outgoing calls
Tested by
no test coverage detected