MCPcopy Create free account
hub / github.com/devld/go-drive / object

Method object

script/utils.go:86–94  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

84}
85
86func (v *Value) object() *otto.Object {
87 if v.IsNil() {
88 return nil
89 }
90 if v.obj == nil {
91 v.obj = v.v.Object()
92 }
93 return v.obj
94}
95
96func (v *Value) Get(prop string) *Value {
97 obj := v.object()

Callers 5

GetMethod · 0.95
KeysMethod · 0.95
SMMethod · 0.95
ArrayMethod · 0.95
MMethod · 0.95

Calls 1

IsNilMethod · 0.95

Tested by

no test coverage detected