PowerShell Return behavior in PowerShell Early exit


Example

function earlyexit {
    "Hello"
    return
    "World"
}

"Hello" will be placed in the output pipeline, "World" will not