Skip to content

Test-PodeIsEmpty

SYNOPSIS

Tests if a value is empty - the value can be of any type.

SYNTAX

Test-PodeIsEmpty [[-Value] <Object>] [<CommonParameters>]

DESCRIPTION

Tests if a value is empty - the value can be of any type.

EXAMPLES

EXAMPLE 1

if (Test-PodeIsEmpty @{}) { /* logic */ }

PARAMETERS

-Value

The value to test.

Type: Object
Parameter Sets: (All)
Aliases:

Required: False
Position: 1
Default value: None
Accept pipeline input: False
Accept wildcard characters: False

CommonParameters

This cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable, -InformationAction, -InformationVariable, -OutVariable, -OutBuffer, -PipelineVariable, -Verbose, -WarningAction, and -WarningVariable. For more information, see about_CommonParameters.

INPUTS

OUTPUTS

System.Boolean

NOTES