@@ -2666,8 +2666,7 @@ foreach ($prop in $this.psobject.properties) {
26662666 Gets all currently loaded language definitions in PipeScript.
26672667#>
26682668,@(foreach ($psProperty in $this.PSObject.properties) {
2669- if ($psProperty -isnot [psnoteproperty]) { continue }
2670- if ($psProperty.Value -isnot [PSObject]) { continue }
2669+ if ($psProperty -isnot [psnoteproperty]) { continue }
26712670 if ($prop.IsInstance -and $prop.Value.LanguageName) {
26722671 $psProperty.Value
26732672 }
@@ -2681,8 +2680,7 @@ foreach ($prop in $this.psobject.properties) {
26812680 Gets all currently loaded language definitions in PipeScript.
26822681#>
26832682,@(foreach ($psProperty in $this.PSObject.properties) {
2684- if ($psProperty -isnot [psnoteproperty]) { continue }
2685- if ($psProperty.Value -isnot [PSObject]) { continue }
2683+ if ($psProperty -isnot [psnoteproperty]) { continue }
26862684 if ($prop.IsInstance -and $prop.Value.LanguageName) {
26872685 $psProperty.Value
26882686 }
@@ -2854,8 +2852,7 @@ foreach ($prop in $this.psobject.properties) {
28542852 Gets all currently loaded language definitions in PipeScript.
28552853#>
28562854,@(foreach ($psProperty in $this.PSObject.properties) {
2857- if ($psProperty -isnot [psnoteproperty]) { continue }
2858- if ($psProperty.Value -isnot [PSObject]) { continue }
2855+ if ($psProperty -isnot [psnoteproperty]) { continue }
28592856 if ($prop.IsInstance -and $prop.Value.LanguageName) {
28602857 $psProperty.Value
28612858 }
0 commit comments