-- | <https://developer.mozilla.org/en-US/docs/Web/API/HTMLCollection.namedItem Mozilla HTMLCollection.namedItem documentation> 
namedItemUnsafe ::
                (MonadDOM m, IsHTMLCollection self, ToJSString name,
                 HasCallStack) =>
                  self -> name -> m Element
namedItemUnsafe self name
  = liftDOM
      ((((toHTMLCollection self) ! name) >>= fromJSVal) >>=
         maybe (Prelude.error "Nothing to return") return)
namedItemUnsafe ::
                (MonadDOM m, IsHTMLCollection self, ToJSString name,
                 HasCallStack) =>
                  self -> name -> m Element
namedItemUnsafe self name
  = liftDOM
      ((((toHTMLCollection self) ! name) >>= fromJSVal) >>=
         maybe (Prelude.error "Nothing to return") return)
namedItemUnsafe self name
  = liftDOM
      ((((toHTMLCollection self) ! name) >>= fromJSVal) >>=
         maybe (Prelude.error "Nothing to return") return)