Ternary Operator in Swift. A ternary operator evaluates a condition and executes a block of code based on the condition. Its syntax is condition ? expression1 : ...
確定! 回上一頁