Module

x/datastructure/queue/helper.d.ts

Implement different Data Structures using TypeScript. Deno Third-party Module.
Latest
interface QueueApi
import { type QueueApi } from "https://deno.land/x/datastructure@1.2.1/queue/helper.d.ts";

Properties

size: number

Methods

getFront(): null | DataType<any>
getBack(): null | DataType<any>
enqueue(data: DataType<any>): boolean
dequeue(): boolean | DataType<any>
search(key: string | number): boolean | DataType<any>
update(key: string | number, newValue: any): boolean | DataType<any>
log(): void