VariableExpressionAst.IsConstantVariable Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Check if the variable is one of $true, $false and $null.
public:
bool IsConstantVariable();
public:
bool IsConstantVariable();
bool IsConstantVariable();
public bool IsConstantVariable ();
member this.IsConstantVariable : unit -> bool
Public Function IsConstantVariable () As Boolean
Returns
True if it is a constant variable