Core API Overview > @adpt/core > useMethod
useMethod() function
This API is provided as a preview for developers and may change based on feedback that we receive. Do not use this API in a production environment.
Signature:
export declare function useMethod<OverrideReturn>(hand: Handle | null, initial: OverrideReturn, method: string, ...args: any[]): OverrideReturn;
Parameters
Parameter | Type | Description |
---|---|---|
hand | Handle | null | |
initial | OverrideReturn | |
method | string | |
args | any[] |
Returns:
OverrideReturn