Table of contents
MutableQueue (interface)
Signature
export interface MutableQueue<A> {
enqueue(a: A): void
dequeue(): A | undefined
peek(): A | undefined
isEmpty(): boolean
size(): number
}
mutableQueue (function)
Signature
export function mutableQueue<A>(): MutableQueue<A> { ... }