Wenn sonst wenn und sonst Aussagen in der schnellen Sprache

var action: String
var person = "hater"

if person == "hater" {
    action = "hate"
} else if person == "player" {
    action = "play"
} else {
    action = "cruise"
}
MUHAMMAD ZEESHAN