@NodeIntrinsic public static native boolean probability(double probability,boolean condition);

@ NodeIntrinsic public static native boolean probability ( double probability , boolean condition ) ;
this intrinsic should only be used for the condition of an if statement . the parameter condition should also only denote a simple condition and not a combined condition involving & amp ; & amp ; or | | operators . it injects the probability of the condition into the if statement .
