Icon HelpCircleForumIcon Link

⌘K

Icon HelpCircleForumIcon Link
InvokeFunction

Icon LinkInterface: InvokeFunction<TArgs, TReturn>

@fuel-ts/program .InvokeFunction

Represents a function that can be invoked.

Icon LinkType parameters

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

Icon LinkCallable

Icon LinkInvokeFunction

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

Icon LinkParameters

NameType
...argsTArgs

Icon LinkReturns

FunctionInvocationScope <TArgs, TReturn>

Icon LinkDefined in

types.ts:66 Icon Link

Icon LinkProperties

Icon LinkisReadOnly

isReadOnly: () => boolean

Icon LinkType declaration

▸ (): boolean

Icon LinkReturns

boolean

Icon LinkDefined in

types.ts:67 Icon Link