private/Tests/Test-IsWindows.ps1

function Test-IsWindows {
    <#
    .SYNOPSIS
        Returns $true when the current session is running on Windows.
 
    .NOTES
        Author: David Segura
        Company: Recast Software
    #>

    [OutputType([bool])]
    param ()

    return [bool]$IsWindows
}