MCPcopy Create free account
hub / github.com/denoland/rust-urlpattern / is_hash_prefix

Method is_hash_prefix

src/constructor_parser.rs:49–51  ·  view source on GitHub ↗
(&self)

Source from the content-addressed store, hash-verified

47 // Ref: https://wicg.github.io/urlpattern/#is-a-hash-prefix
48 #[inline]
49 fn is_hash_prefix(&self) -> bool {
50 self.is_non_special_pattern_char(self.token_index, "#")
51 }
52
53 // Ref: https://wicg.github.io/urlpattern/#is-a-protocol-suffix
54 #[inline]

Callers 1

parse_constructor_stringFunction · 0.80

Calls 1

Tested by

no test coverage detected