MCPcopy Index your code
hub / github.com/Shopify/go-lua / isInStackAt

Method isInStackAt

stack.go:78–83  ·  view source on GitHub ↗
(level int)

Source from the content-addressed store, hash-verified

76}
77
78func (uv *upValue) isInStackAt(level int) bool {
79 if home, ok := uv.home.(stackLocation); ok {
80 return home.index == level
81 }
82 return false
83}
84
85func (uv *upValue) isInStackAbove(level int) bool {
86 if home, ok := uv.home.(stackLocation); ok {

Callers 2

findUpValueMethod · 0.80
cachedFunction · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected