## XR8.XrDevice.isDeviceBrowserCompatible({ allowedDevices })

Returns an estimate of whether the user's device and browser is compatible with 8th Wall Web. If this returns false, [`XR8.XrDevice.incompatibleReasons()`](https://8thwall.org/docs/api/engine/xrdevice/incompatiblereasons) will return reasons about why the device and browser are not supported.

## Parameters

| Parameter | Description |
| --- | --- |
| allowedDevices \[Optional\] | Supported device classes, a value in [`XR8.XrConfig.device()`](https://8thwall.org/docs/api/engine/xrconfig/device). |

## Returns

True or false.

## Example

```javascript
XR8.XrDevice.isDeviceBrowserCompatible({allowedDevices: XR8.XrConfig.device().MOBILE})
```
