🌈 搜索
📅  最后修改于: 2022-03-11 14:49:21.961000             🧑  作者: Mango
bool isTrue = true; uint number = isTrue ? uint(1) : uint(0); // if isTrue then number == 1 else number == 0