MCPcopy Create free account
hub / github.com/LaBatata101/sith-language-server / is_byte_string

Method is_byte_string

crates/sith_python_ast/src/nodes.rs:4505–4507  ·  view source on GitHub ↗

Does the string have a `b` or `B` prefix?

(self)

Source from the content-addressed store, hash-verified

4503
4504 /// Does the string have a `b` or `B` prefix?
4505 pub const fn is_byte_string(self) -> bool {
4506 self.0.contains(AnyStringFlagsInner::B_PREFIX)
4507 }
4508
4509 #[must_use]
4510 pub fn with_triple_quotes(mut self) -> Self {

Callers 3

parse_escaped_charMethod · 0.80
parseMethod · 0.80

Calls 1

containsMethod · 0.45

Tested by

no test coverage detected