【发布时间】:2015-02-17 22:33:16
【问题描述】:
我环顾四周,但很惊讶我找不到任何可以解释这一点的东西。如果我有:
func checkEmail ()
{
var test = true
return test
}
...elsewhere in the code....
var emailStatus = checkEmail ()
如何让这个函数返回 true 的布尔值?
【问题讨论】:
标签: xcode function swift boolean