miniblog.
← Back to all posts
Wilfred Hughes
Jun 20, 2019 at 19:44
Skimming the docs, it's interesting to see that they allow you to return values inside a void function:
https://sorbet.org/docs/sigs
The value is thrown away by their signature wrappers though.
Method Signatures · Sorbet
> This page describes the syntax of method signatures, or `sig`s. For a complete reference of the types available for use within a `sig`, see the "Type System" section to the left.