We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
let array = [1, 2, 3, 4, 5] array[guard: 6] ?? 0 //0 array[guard: 1] ?? 0 //2
[1, 2, 3, 4].reduct(+) // Optional(10) [9, 3, 2, 1].reduct(-) // Optional(3) [1, 2, 3, 4].reduct(*) // Optional(24)
There was an error while loading. Please reload this page.