MCPcopy
hub / github.com/graphif/project-graph / unsafeGet

Method unsafeGet

packages/data-structures/src/MonoStack.ts:56–58  ·  view source on GitHub ↗
(index: number)

Source from the content-addressed store, hash-verified

54 }
55
56 unsafeGet(index: number): T {
57 return this.stack[index].item;
58 }
59
60 // 判断栈是否为空
61 isEmpty(): boolean {

Callers 4

importMethod · 0.95
importFromNodeMethod · 0.95
MonoStack.test.tsFile · 0.80
visitFunctionMethod · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected