@fuel-ts/program v0.94.1 • Docs
Interface: InvokeFunction()<TArgs, TReturn>
Represents a function that can be invoked.
Type Parameters
Type Parameter | Default type | Description |
---|---|---|
TArgs extends any [] | any [] | Type of the function's arguments. |
TReturn | any | Type of the function's return value. |
InvokeFunction(...
args
):FunctionInvocationScope
<TArgs
,TReturn
>
Represents a function that can be invoked.
Parameters
Parameter | Type |
---|---|
...args | TArgs |
Returns
FunctionInvocationScope
<TArgs
, TReturn
>
Defined in
types.ts:71
Properties
Property | Type | Description | Defined in |
---|---|---|---|
isReadOnly | () => boolean | Checks if the function is read-only i.e. it only reads from storage, does not write to it. | types.ts:77 |