function main(a: bool, b: bool) { let c = if a ? true : false; const d = c == b; }