Question 1/12: This code is valid Swift – true or false?
Hint: Click to show.
func mowGrass(to height: Double?) {
guard let height = height else { return }
print("Mowing the grass to \(height).")
}
mowGrass(to: 6.0)
Link copied to your pasteboard.