F

supports

Checks whether the loader on this device implements a bridge method, for methods newer than the capability that gates them.

function supports(method: NativeBridgeMethod): boolean

Parameters

NameTypeDescription
methodNativeBridgeMethod

The method's path, such as fabric.batchAsync.

Returns

boolean

Whether the loader implements it.