0
Can retrun be placed anywhere at end of guard function?(Short code)
Can return be placed at both this places without any consequences? Example: func guardStatements() { guard let f = first else{ print("nil value") retrun } //or like this func guardStatements() { guard let f = first else{ return print("nil value") }
0 Réponse