Browser APIs pertaining to the browser’s platform.
Kind: global class
string
boolean
boolean
boolean
boolean
boolean
boolean
boolean
boolean
boolean
boolean
boolean
boolean
boolean
boolean
string
The browser’s four-part version string, e.g. 80.0.3987.28452.
Kind: instance property of PlatformAPI
boolean
Check if the system on which the browser is a known platform.
Kind: instance method of PlatformAPI
Returns: boolean
- True if the system is a known platform.
boolean
Check if the system on which the browser is running is an Windows platform.
Kind: instance method of PlatformAPI
Returns: boolean
- True if the system is an Windows platform.
boolean
Check if the system on which the browser is running is an macOS platform.
Kind: instance method of PlatformAPI
Returns: boolean
- True if the system is an macOS platform.
boolean
Check if the system on which the browser is running is an Linux platform.
Kind: instance method of PlatformAPI
Returns: boolean
- True if the system is an Linux platform.
boolean
Check if the system on which the browser is running is an Android platform.
Kind: instance method of PlatformAPI
Returns: boolean
- True if the system is an Android platform.
boolean
Check if the system on which the browser is running is an iOS platform.
Kind: instance method of PlatformAPI
Returns: boolean
- True if the system is an iOS platform.
boolean
Check if the system on which the browser is running is a desktop platform.
Kind: instance method of PlatformAPI
Returns: boolean
- True if the system is a desktop platform.
boolean
Check if the system on which the browser is running is a mobile platform.
Kind: instance method of PlatformAPI
Returns: boolean
- True if the system is a mobile platform.
boolean
Check if the browser knows the architecture of the system it is running on.
Kind: instance method of PlatformAPI
Returns: boolean
- True if the system architecture is known.
boolean
Check if the browser is running on a 32-bit system.
Kind: instance method of PlatformAPI
Returns: boolean
- True if the system’s architecture is 32-bit.
boolean
Check if the browser is running on a 64-bit system.
Kind: instance method of PlatformAPI
Returns: boolean
- True if the system’s architecture is 64-bit.
boolean
Check if the browser knows its own architecture.
Kind: instance method of PlatformAPI
Returns: boolean
- True if the browser’s architecture is known.
boolean
Check if the browser is a 32-bit application.
Kind: instance method of PlatformAPI
Returns: boolean
- True if the browser’s architecture is 32-bit.
boolean
Check if the browser is a 64-bit application.
Kind: instance method of PlatformAPI
Returns: boolean
- True if the browser’s architecture is 64-bit.