Skip to content

Glossary: SwiftUI

as?

Also written: conditional cast

A conditional cast that gives nil if the value isn't the requested type. MenuClient uses it to check that a response is an HTTP response.

Where the book teaches it

Related terms

HTTPURLResponseURLSession