@fuel-ts/program v0.95.0 • Docs
Represents a function that can be invoked.
• 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.
• ...args: TArgs
FunctionInvocationScope
<TArgs
, TReturn
>
isReadOnly: () =>
boolean
Checks if the function is read-only i.e. it only reads from storage, does not write to it.
boolean
True if the function is read-only or pure, false otherwise.