ReadonlyDeque
import { ReadonlyDeque } from "jsr:@ende/data-structures";type alias
type ReadonlyDeque<T> = Pick<Deque<T>, "length" | "isEmpty" | "peekFront" | "peekBack" | "at" | "includes" | "find" | "findIndex" | "toArray" | typeof Symbol.iterator | "reversed" | typeof Symbol.toStringTag>Read-only view of a Deque. Strips all mutation methods,
following the ReadonlyArray / ReadonlyMap / ReadonlySet pattern.
A Deque<T> is directly assignable to ReadonlyDeque<T>.