asDirective

open fun asDirective(): Directive?

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

Return

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