F
has
Checks whether the native bridge on this device provides a capability, so an addon can fall back when the other platform lacks it.
function has(capability: NativeBridgeCapability): booleanParameters
| Name | Type | Description |
|---|---|---|
| capability | NativeBridgeCapability | The capability to look for. |
Returns
booleanWhether the bridge provides it.