Generics enable you to write flexible, reusable functions and types.
← Swift theorytheory 0/50 · 0%
Fundamentals · easy
9. Generics
Flexible code.
Check your understanding
1. Placeholder syntax?
2. Generic constraints?
Flexible code.
Generics enable you to write flexible, reusable functions and types.
1. Placeholder syntax?
2. Generic constraints?