Instance Method

finishExecution()

Terminates execution of the current playground page.

Declaration

func finishExecution() -> Never

Discussion

Any function running in the playground is terminated by finishExecution() and does not return a value.