Skip To Content
PowerShell Gallery
Toggle navigation
Packages
Publish
Documentation
Sign in
Search PowerShell packages:
Pester
4.3.1
Dependencies/Axiom/Verify-True.ps1
function
Verify-True
{
param
(
[
Parameter
(
ValueFromPipeline
=
$true
)
]
$Actual
)
if
(
-not
$Actual
)
{
throw
[Exception]
"Expected `$true but got '$Actual'."
}
$Actual
}