MCPcopy Create free account
hub / github.com/MaterializeInc/materialize / is_alpha

Function is_alpha

misc/python/materialize/mzexplore/sql.py:190–191  ·  view source on GitHub ↗
(c: str)

Source from the content-addressed store, hash-verified

188
189 # Look for characters that require quotation.
190 def is_alpha(c: str) -> bool:
191 return ord(c) >= ord("a") and ord(c) <= ord("z") or c == "_"
192
193 def is_alphanum(c: str) -> bool:
194 return is_alpha(c) or ord(c) >= ord("0") and ord(c) <= ord("9")

Callers 2

is_alphanumFunction · 0.85
identifierFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected