MCPcopy Create free account
hub / github.com/crossoverJie/gscript / Size

Method Size

stack/stack.go:16–18  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

14}
15
16func (s *Stack) Size() int {
17 return len(*s)
18}
19func (s *Stack) Get(i int) interface{} {
20 return (*s)[i]
21}

Callers 2

TestStack_PeekFunction · 0.95
TestStack_GetFunction · 0.95

Calls

no outgoing calls

Tested by 2

TestStack_PeekFunction · 0.76
TestStack_GetFunction · 0.76