/**
赋值运算符
> < <= >= !=
三元条件运算符
? :
*/
let res:Bool = 5 == 5
print(res)
if 5 > 3
{
print(res)
}
let max = 3 > 2 ? 3 : 2
print(max)
原文链接:https://www.f2er.com/swift/322499.html/**
赋值运算符
> < <= >= !=
三元条件运算符
? :
*/
let res:Bool = 5 == 5
print(res)
if 5 > 3
{
print(res)
}
let max = 3 > 2 ? 3 : 2
print(max)
原文链接:https://www.f2er.com/swift/322499.html