can in operatorbe used in IF ELSE in KOTLIN code example Example: kotlin if if (a > b) { max = a } else { max = b }