asYes

open override fun asYes(): Solution.Yes

Casts the current Solution to Yes, if possible, or returns null otherwise

Return

the current Solution, casted to Yes, or null, if the current term is not an instance of Yes