castToList

open fun castToList(): List

Casts the current Term to List, if possible

Return

the current Term, casted to List

Throws

if the current Term is not an instance of List