asVar

open fun asVar(): Var?

Casts the current Term to Var, if possible, or returns null otherwise

Return

the current Term, casted to Var, or null, if the current term is not an instance of Var