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

Method values

modules/llrt_fetch/src/form_data.rs:148–159  ·  view source on GitHub ↗
(&self, ctx: Ctx<'js>)

Source from the content-addressed store, hash-verified

146 self.entries.borrow_mut().retain(|(k, _)| *k != name);
147 Ok(())
148 }
149
150 pub fn keys(
151 this: This<Class<'js, FormData<'js>>>,
152 ctx: Ctx<'js>,
153 ) -> Result<Class<'js, FormDataIter<'js>>> {
154 FormDataIter::new(&ctx, this.0, IterKind::Keys)
155 }
156
157 pub fn values(
158 this: This<Class<'js, FormData<'js>>>,
159 ctx: Ctx<'js>,
160 ) -> Result<Class<'js, FormDataIter<'js>>> {
161 FormDataIter::new(&ctx, this.0, IterKind::Values)
162 }

Callers

nothing calls this directly

Calls 4

okMethod · 0.80
iterMethod · 0.45
cloneMethod · 0.45
into_jsMethod · 0.45

Tested by

no test coverage detected