simple groovy operator question: Math.min(params.max ? params.int('max') : 10, 100)

Viewed 13487

Can you tell me how the expression

Math.min(params.max ? params.int('max') : 10, 100)

works? It doesn't fit the groovy ternary if, so what special operator is this?

Thanks

3 Answers
Related