MCPcopy 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
72func (uv *Upvalue) Close() {
73 value := uv.Value()
74 uv.closed = true
75 uv.value = value
76}
77
78func (uv *Upvalue) IsClosed() bool {
79 return uv.closed || uv.reg == nil

Callers

nothing calls this directly

Calls 1

ValueMethod · 0.95

Tested by

no test coverage detected