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

Method isspace

crates/vm/src/bytes_inner.rs:358–364  ·  view source on GitHub ↗
(&self)

Source from the content-addressed store, hash-verified

356 }
357
358 pub fn isspace(&self) -> bool {
359 !self.elements.is_empty()
360 && self
361 .elements
362 .iter()
363 .all(|x| char::from(*x).is_ascii_whitespace())
364 }
365
366 pub fn istitle(&self) -> bool {
367 if self.elements.is_empty() {

Callers 3

builtin_str.pyFile · 0.45
builtin_bytes.pyFile · 0.45

Calls 3

allMethod · 0.80
is_emptyMethod · 0.45
iterMethod · 0.45

Tested by

no test coverage detected