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