(&self, _ctx: Ctx<'js>, name: String)
| 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(); |