(&self, store: &StoreOpaque)
| 445 | } |
| 446 | |
| 447 | pub(crate) fn _as_array(&self, store: &StoreOpaque) -> Result<Option<Rooted<ArrayRef>>> { |
| 448 | if self._is_array(store)? { |
| 449 | Ok(Some(Rooted::from_gc_root_index(self.inner))) |
| 450 | } else { |
| 451 | Ok(None) |
| 452 | } |
| 453 | } |
| 454 | |
| 455 | /// Downcast this `eqref` to an `arrayref`, panicking if this `eqref` is |
| 456 | /// not an `arrayref`. |
no test coverage detected