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

Method Get

stack/stack.go:19–21  ·  view source on GitHub ↗
(i int)

Source from the content-addressed store, hash-verified

17 return len(*s)
18}
19func (s *Stack) Get(i int) interface{} {
20 return (*s)[i]
21}
22
23// Push a new value onto the Stack
24func (s *Stack) Push(val interface{}) {

Callers 4

TestStack_GetFunction · 0.95
pushStackMethod · 0.80
TestVisitor_JSONGetFunction · 0.80
JSONGetFunction · 0.80

Calls

no outgoing calls

Tested by 2

TestStack_GetFunction · 0.76
TestVisitor_JSONGetFunction · 0.64