We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 427780a commit dbd1ac7Copy full SHA for dbd1ac7
Types/CommandAST/get_IsPipedFrom.ps1
@@ -0,0 +1,2 @@
1
+if ($this.Parent -isnot [Management.Automation.Language.PipelineAst]) { return $false }
2
+$this.Parent.PipelineElements.IndexOf($this) -lt ($this.Parent.PipelineElements.Count - 1)
Types/CommandAST/get_IsPipedTo.ps1
+$this.Parent.PipelineElements.IndexOf($this) -gt 0
0 commit comments