castToYes

open fun castToYes(): Solution.Yes

Casts the current Solution to Yes, if possible

Return

the current Solution, casted to Yes

Throws

if the current Solution is not an instance of Yes