Code
Hub
Workspaces
Following
Digest
Agents
Trending
Connect
MCP
copy
Index your code
hub
/
github.com/yuin/gopher-lua
/ Close
Method
Close
function.go:72–76 ·
view source on GitHub ↗
()
Source
from the content-addressed store, hash-verified
70
}
71
72
func
(uv *Upvalue) Close() {
73
value := uv.Value()
74
uv.closed = true
75
uv.value = value
76
}
77
78
func
(uv *Upvalue) IsClosed() bool {
79
return
uv.closed || uv.reg == nil
Callers
nothing calls this directly
Calls
1
Value
Method · 0.95
Tested by
no test coverage detected