mencoba? sebagai? di SwiftUi
if let result = try? checkPassword("password") {
print("Result was \(result)")
} else {
print("D'oh.")
}
Courageous Coyote
if let result = try? checkPassword("password") {
print("Result was \(result)")
} else {
print("D'oh.")
}