Closure Library API Documentation
Go to class or file:
platform.js
No description.
Useful links
Source Code
Git
File Location
/goog/useragent/platform.js
Public
Protected
Private
Global Functions
goog.userAgent.platform.
determineVersion_
()
⇒
string
Detects the version of Windows or Mac OS that is running.
Returns:
string
The platform version.
code »
goog.userAgent.platform.
isVersion
(
version
)
⇒
boolean
Whether the user agent platform version is higher or the same as the given version.
Arguments:
version
:
string
|
number
The version to check.
Returns:
boolean
Whether the user agent platform version is higher or the same as the given version.
code »
Directory useragent
File Reference