return

Iterator: Terminate and return with the provided value.

Finishes the current iterator. The value is returned as the final value.

Return

The final iterator result.

Parameters

value

The value to return.