Code
Hub
Workspaces
Connect
Indexed graphs
Engine
MCP
copy
hub
/
github.com/graphif/project-graph
/ isEmpty
Method
isEmpty
packages/data-structures/src/Queue.ts:41–43 ·
view source on GitHub ↗
()
Source
from the content-addressed store, hash-verified
39
40
// 检查队列是否为空
41
isEmpty(): boolean {
42
return
this.items.length === 0;
43
}
44
45
get length(): number {
46
return
this.items.length;
Callers
6
dequeue
Method · 0.95
peek
Method · 0.95
tail
Method · 0.95
Stack.test.ts
File · 0.45
Queue.test.ts
File · 0.45
MonoStack.test.ts
File · 0.45
Calls
no outgoing calls
Tested by
no test coverage detected