Return statements in Soul functions
return
statement is used to exit a function and optionally return a value to the caller. It immediately terminates function execution and passes control back to the calling code.
return
statement is essential for controlling function flow and providing results to calling code. Use it effectively to create clear, predictable, and maintainable functions.