MCPcopy Index your code
hub / github.com/RustPython/RustPython / is_space

Function is_space

crates/sre_engine/src/string.rs:347–351  ·  view source on GitHub ↗
(ch: u32)

Source from the content-addressed store, hash-verified

345}
346#[inline]
347pub(crate) fn is_space(ch: u32) -> bool {
348 u8::try_from(ch)
349 .map(is_py_ascii_whitespace)
350 .unwrap_or(false)
351}
352#[inline]
353pub(crate) fn is_digit(ch: u32) -> bool {
354 u8::try_from(ch)

Callers 2

is_uni_spaceFunction · 0.85
categoryFunction · 0.85

Calls 1

mapMethod · 0.45

Tested by

no test coverage detected