castToHalt

open fun castToHalt(): Solution.Halt

Casts the current Solution to Halt, if possible

Return

the current Solution, casted to Halt

Throws

if the current Solution is not an instance of Halt