useInterface
Detects if the specified interface is present.
Syntax
useInterface(interface);
Parameters
| Name | Type | Description |
|---|---|---|
interface | string | The interface to check for. |
Returns
boolean-trueif the interface is present,falseotherwise.
Example
const isInterface = useInterface(interface);
Available on: Client