MCPcopy Create free account
hub / github.com/awslabs/llrt / has

Method has

modules/llrt_fetch/src/form_data.rs:121–124  ·  view source on GitHub ↗
(&self, _ctx: Ctx<'js>, name: String)

Source from the content-addressed store, hash-verified

119 .collect();
120 Ok(values
121 .into_iter()
122 .filter_map(|v| v.into_js(&ctx).ok())
123 .collect())
124 }
125
126 pub fn has(&self, _ctx: Ctx<'js>, name: String) -> Result<bool> {
127 let entries = self.entries.borrow();

Callers

nothing calls this directly

Calls 2

anyMethod · 0.80
iterMethod · 0.45

Tested by

no test coverage detected