castToCons

open fun castToCons(): Cons

Casts the current Term to Cons, if possible

Return

the current Term, casted to Cons

Throws

if the current Term is not an instance of Cons