[Solved] opposite of if condition [closed]

[ad_1]

You can simply invert the condition. Try the snippet below.

if ( !((null == riskClass) || (riskClass.equals("")) || (riskClass.equals("repay"))) ){  
    //do something
}

1

[ad_2]

solved opposite of if condition [closed]