Skip to content

Interface: InvokeFunction<TArgs, TReturn>

@fuel-ts/program.InvokeFunction

Represents a function that can be invoked.

Type parameters

NameTypeDescription
TArgsextends any[] = any[]Type of the function's arguments.
TReturnanyType of the function's return value.

Callable

InvokeFunction

InvokeFunction(...args): FunctionInvocationScope<TArgs, TReturn>

Parameters

NameType
...argsTArgs

Returns

FunctionInvocationScope<TArgs, TReturn>

Defined in

types.ts:68

Properties

isReadOnly

isReadOnly: () => boolean

Type declaration

▸ (): boolean

Returns

boolean

Defined in

types.ts:69