Liking cljdoc? Tell your friends :D

oc.lib.cljs.useragent


android?cljs

source

browser-versioncljs

The string that describes the version number of the user agent.

The string that describes the version number of the user agent.
sourceraw docstring

browser-version-or-higher?cljs

(browser-version-or-higher? v)

Returns true if the browser version is v or higher.

Returns true if the browser version is v or higher.
sourceraw docstring

chrome?cljs

source

desktop-app?cljs

Whether we're running in the desktop application

Whether we're running in the desktop application
sourceraw docstring

edge?cljs

source

firefox?cljs

source

gecko?cljs

source

ie-or-edge?cljs

source

ie?cljs

source

ios?cljs

source

ipad?cljs

source

iphone?cljs

source

ipod?cljs

source

linux?cljs

source

mac?cljs

source

mobile-app?cljs

Whether we're running in the mobile application

Whether we're running in the mobile application
sourceraw docstring

mobile?cljs

source

opera?cljs

source

os-versioncljs

Detects the version of the OS/platform the browser is running in. Not supported for Linux, where an empty string is returned.

Detects the version of the OS/platform the browser is running in.
Not supported for Linux, where an empty string is returned.
sourceraw docstring

os-version-or-higher?cljs

(os-version-or-higher? v)

Returns true if the OS/platform is v or higher.

Returns true if the OS/platform is v or higher.
sourceraw docstring

pseudo-native?cljs

Whether we're running in a web-in-native wrapper (e.g. electron, expo, etc)

Whether we're running in a web-in-native wrapper (e.g. electron, expo, etc)
sourceraw docstring

safari?cljs

source

webkit?cljs

source

windows?cljs

source

x11?cljs

source

cljdoc is a website building & hosting documentation for Clojure/Script libraries

× close