Skip to content

Glossary: SwiftUI

guard

Also written: guard let

A Swift statement that checks a condition and must leave the current scope if it fails. MenuClient uses it to throw an error for any non-200 response.

Where the book teaches it

Related terms

throwsHTTP status codes