Just remember that randomElement()
returns an Optional
element, so it will need to be unwrapped at some point before it can be used.
1 Like
Just remember that randomElement()
returns an Optional
element, so it will need to be unwrapped at some point before it can be used.