is_cond
boolSyntax.is_cond : term -> bool
Tests a term to see if it is a conditional.
If M has the form if t then t1 else t2 then is_cond M returns true If the term is not a conditional the result is false.
M
if t then t1 else t2
is_cond M
true
false
Never fails.
boolSyntax.mk_cond, boolSyntax.dest_cond
boolSyntax.mk_cond
boolSyntax.dest_cond