ASP.net - Does a return statement in function stop the function? <p>Given the function</p> <pre><code>'Returns true if no cell is &gt; 1 Function isSolutionValid() As Boolean Dim rLoop As Integer Dim cLoop As Integer For cLoop = 0 To canvasCols - 1 For rLoop = 0 To canvasRows - 1 If canvas(cLoop, rLoop) &gt; 1 Then Return False End If Next Next Return True End Function </code></pre> <p>When 'return false' is fired, I'm assuming that the function is stopped at that point and there's no need for exit fors and things like that?</p>