castToAtom

open fun castToAtom(): Atom

Casts the current Term to Atom, if possible

Return

the current Term, casted to Atom

Throws

if the current Term is not an instance of Atom