rakutentech/r10/7.0.0

R10.Device

Information related to the device.

type Browser
type OS
type alias Device =
{ os : OS
, browser : Browser
, userAgent : String
, isSafari10OrIOS10 : Bool
}
constructor : String -> String -> Bool -> Device
osToString : OS -> String
List
{ isOntouchendInDocument : Bool
, nameLong : String
, nameShort : String
, platform : String
, referenceUrl : String
, userAgent : String
}
isAndroid : Device -> Bool
isChromeDesktop : Device -> Bool
isChromeAndroid : Device -> Bool
isFirefoxAndroid : Device -> Bool
isIOS : Device -> Bool
isInternetExplorer : Device -> Bool
isMobileOS : Device -> Bool
isSafari : Device -> Bool
isSafari10OrIOS10 : Device -> Bool
toString : Device -> String