MCPcopy Create free account
hub / github.com/executablebooks/markdown-it-py / isSpace

Function isSpace

markdown_it/common/utils.py:162–164  ·  view source on GitHub ↗

Check if character code is a whitespace.

(code: int | None)

Source from the content-addressed store, hash-verified

160
161
162def isSpace(code: int | None) -> bool:
163 """Check if character code is a whitespace."""
164 return code in (0x09, 0x20)
165
166
167def isStrSpace(ch: str | None) -> bool:

Callers 1

referenceFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…