Skip To Content
PowerShell Gallery
Toggle navigation
Packages
Publish
Documentation
Sign in
Search PowerShell packages:
OktaPosh
0.2.6
private/ternary.ps1
function
ternary
{
param
(
$value
,
$ifTrue
,
$ifFalse
)
if
(
$value
)
{
$ifTrue
}
else
{
$ifFalse
}
}