Skip to main content

Interface: FunctionFallback

@sapphire/decorators.FunctionFallback

The fallback interface, this is called when the function precondition returns or resolves with a falsy value.

Callable

FunctionFallback

FunctionFallback(...args): unknown

The arguments passed to the function or class' method.

Parameters

NameType
...argsany[]

Returns

unknown

Defined in

utils.ts:18