Learn R Programming

shinybrowser (version 1.0.0)

is_browser_ie: 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()

Arguments

Value

Whether or not this user using Internet Explorer

Examples

Run this code
# NOT RUN {
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)
}
# }

Run the code above in your browser using DataLab