castToStruct

open fun castToStruct(): Struct

Casts the current Term to Struct, if possible

Return

the current Term, casted to Struct

Throws

if the current Term is not an instance of Struct