7

value is some boolean variable

if( !(value != false) == true) {
return !value;
}

Comments
  • 3
    return !value ? true : null;

    I have a class in computer science called logic & set theory. I understand now that it is in the program purely so we can deal with overcomplicated if statements ;p
Add Comment