So far in the course, functions have been covered in the following chapters:

This chapter will cover more features of functions.

Return type attributes

Functions can be marked as auto, ref, inout, and auto ref. These attributes are about return types of functions.

auto functions

The return types of auto functions do not need be specified:

Get hands-on with 1200+ tech skills courses.