Code
Hub
Workspaces
Connect
Indexed graphs
Engine
MCP
copy
hub
/
github.com/graphif/project-graph
/ dequeue
Method
dequeue
packages/data-structures/src/Queue.ts:10–15 ·
view source on GitHub ↗
()
Source
from the content-addressed store, hash-verified
8
9
// 出队操作
10
dequeue(): T | undefined {
11
if
(this.isEmpty()) {
12
return
undefined;
13
}
14
return
this.items.shift();
15
}
16
17
public get arrayList(): T[] {
18
return
this.items;
Callers
4
enqueue
Method · 0.80
Queue.test.ts
File · 0.80
enqueue
Function · 0.80
tick
Method · 0.80
Calls
1
isEmpty
Method · 0.95
Tested by
no test coverage detected