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

Method isnumeric

crates/vm/src/builtins/str.rs:952–954  ·  view source on GitHub ↗
(&self)

Source from the content-addressed store, hash-verified

950
951 #[pymethod]
952 fn isnumeric(&self) -> bool {
953 !self.data.is_empty() && self.char_all(char::is_numeric)
954 }
955
956 #[pymethod]
957 fn isdigit(&self) -> bool {

Callers

nothing calls this directly

Calls 2

char_allMethod · 0.80
is_emptyMethod · 0.45

Tested by

no test coverage detected