SlidingWindowsOptions
import { SlidingWindowsOptions } from "jsr:@ende/collections";interface
interface SlidingWindowsOptionsOptions for slidingWindows.
Properties
step
step?: numberIf step is set, each window will start that many elements after the last window's start.
Default: 1
partial
partial?: booleanIf partial is set, windows will be generated for the last elements of the collection, resulting in some undefined values if size is greater than 1.
Default: false