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