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

Method is_duplicate_name

src/parser.rs:332–334  ·  view source on GitHub ↗

Ref: https://wicg.github.io/urlpattern/#is-a-duplicate-name

(&self, name: &str)

Source from the content-addressed store, hash-verified

330
331 // Ref: https://wicg.github.io/urlpattern/#is-a-duplicate-name
332 fn is_duplicate_name(&self, name: &str) -> bool {
333 self.part_list.iter().any(|p| p.name == name)
334 }
335
336 // Ref: https://wicg.github.io/urlpattern/#consume-text
337 fn consume_text(&mut self) -> String {

Callers 1

add_partMethod · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected