Glossary: Swift Beyond the Basics
inout parameter
Also written: inout
A parameter whose changes reach the caller's variable. The caller passes it with `&`, as in `restock(&decaf, bags: 5)`.
Glossary: Swift Beyond the Basics
Also written: inout
A parameter whose changes reach the caller's variable. The caller passes it with `&`, as in `restock(&decaf, bags: 5)`.