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 3ab2e19 commit b47f59eCopy full SHA for b47f59e
src/transforms/window.d.ts
@@ -65,6 +65,11 @@ export interface WindowOptions {
65
* - *start* - as the first element in the window
66
* - *middle* (default) - in the middle of the window, rounding down if **k** is even
67
* - *end* - as the last element in the window
68
+ *
69
+ * Note that *start* and *end* are relative to input order, not natural
70
+ * ascending order by value. For example, if the data is in reverse
71
+ * chronological order, then the meaning of *start* and *end* is effectively
72
+ * reversed because the first data point is the most recent.
73
*/
74
anchor?: "start" | "middle" | "end";
75
0 commit comments