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.
Turtle.get_Maximum
1 parent 9860850 commit fa8c3abCopy full SHA for fa8c3ab
Types/Turtle/get_Maximum.ps1
@@ -0,0 +1,12 @@
1
+<#
2
+.SYNOPSIS
3
+ Gets the turtle maximum point.
4
+.DESCRIPTION
5
+ Gets the maximum point reached by the turtle.
6
+
7
+ Keeping track of this as we go is far more efficient than calculating it from the path.
8
+#>
9
+if ($this.'.Maximum') {
10
+ return $this.'.Maximum'
11
+}
12
+return ([pscustomobject]@{ X = 0; Y = 0 })
0 commit comments