Private/Test-PSparklinesModule.ps1
function Test-PSparklinesModule { <# .SYNOPSIS Returns true if the PSparklines module is installed. #> if (Get-Module PSparklines -ListAvailable) { $true } else { $false } } |
function Test-PSparklinesModule { <# .SYNOPSIS Returns true if the PSparklines module is installed. #> if (Get-Module PSparklines -ListAvailable) { $true } else { $false } } |