Module CCBool
Basic Bool functions
val compare : t -> t -> intcompare b1 b2is the total ordering on booleansb1andb2, similar toStdlib.compare.
val to_int : t -> intto_int true = 1,to_int false = 0.- since
- 2.7
val of_int : int -> tof_int iis the same asi <> 0- since
- 2.7