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

Method is_utf8

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

Source from the content-addressed store, hash-verified

524 }
525
526 pub const fn is_utf8(&self) -> bool {
527 self.kind().is_utf8()
528 }
529
530 fn char_all<F>(&self, test: F) -> bool
531 where

Callers 6

try_from_objectMethod · 0.45
utf_8_encodeFunction · 0.45
new_substrMethod · 0.45
ensure_valid_utf8Method · 0.45
fsencodeMethod · 0.45

Calls 1

kindMethod · 0.45

Tested by

no test coverage detected