Learn Courses My Dashboard

Something i can't understand about the array

why it’s giving me Optional(7) not only 7 ?

Why should I unwrap (m)

The method first is a method that returns an Optional because the array may or may not have any elements.

1 Like