Skip to main content
Using Deno in production at your company? Earn free Deno merch.
Give us feedback
Module

x/datastructure/queue/helper.d.ts>QueueApi

Implement different Data Structures using TypeScript. Deno Third-party Module.
Go to Latest
interface QueueApi
import { type QueueApi } from "https://deno.land/x/datastructure@1.0.6/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