Swiftybase
Function StackCustom Function

Expect Return

Explicitly declares the expected return type for inner stack functions (like mapping or pipe stack functions). Use this function when the return type cannot be automatically inferred by the Frontend.

This annotation should be added to the first function in the stack to provide proper type information for the development environment.

Note: This declaration is for development only. It has no impact on actual runtime processing in the backend.

Config

Simply define the intended return type for the current function stack:

For similar functionality within a different context, see the Return In Scope documentation.

On this page