Practice Test Geeks home

Swift Case Studies & Practical Application 2

You're building a banking app where a `Transaction` must always have a non-zero `amount`.
Which Swift feature best enforces this at the type level?

Select your answer