asRule

open override fun asRule(): Rule

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

Return

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