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 005910f commit 58e0210Copy full SHA for 58e0210
1 file changed
Types/PipeScript.Languages/get_All.ps1
@@ -0,0 +1,13 @@
1
+<#
2
+.SYNOPSIS
3
+ Gets all Languages
4
+.DESCRIPTION
5
+ Gets all currently loaded language definitions in PipeScript.
6
+#>
7
+,@(foreach ($psProperty in $this.PSObject.properties) {
8
+ if ($psProperty -isnot [psnoteproperty]) { continue }
9
+ if ($psProperty.Value -isnot [PSObject]) { continue }
10
+ if ($prop.IsInstance -and $prop.Value.LanguageName) {
11
+ $psProperty.Value
12
+ }
13
+})
0 commit comments