Is there any way for me to identify what value is/will be returned by the 
function in a defer block

here’s some example code

func someFunction() -> Int {
    defer {
        //Can I get the "5" that I'm returning here?
    }
    return 5
}

- Ezekiel

_______________________________________________
swift-users mailing list
swift-users@swift.org
https://lists.swift.org/mailman/listinfo/swift-users

Reply via email to