is_browser_ie {shinybrowser}R Documentation

Is the user using Internet Explorer?

Description

Convenience function that checks if the user's browser is detected as Internet Explorer. See get_browser() for details.

Usage

is_browser_ie()

Value

Whether or not this user using Internet Explorer

Examples

if (interactive()) {
  library(shiny)

  ui <- fluidPage(
    shinybrowser::detect(),
    "Are you using Internet Explorer?",
    textOutput("result")
  )
  server <- function(input, output, session) {
    output$result <- renderText({
      shinybrowser::is_browser_ie()
    })
  }
  shinyApp(ui, server)
}

[Package shinybrowser version 1.0.0 Index]