Core API Overview > @adpt/core > useMethodFrom
useMethodFrom() function
Signature:
export declare function useMethodFrom(hand: Handle, methodName: string, defaultVal?: any, ...args: any[]): void;
Parameters
Parameter | Type | Description |
---|---|---|
hand | Handle | |
methodName | string | |
defaultVal | any | |
args | any[] |
Returns:
void