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

Method Has

script/utils.go:108–110  ·  view source on GitHub ↗
(prop string)

Source from the content-addressed store, hash-verified

106}
107
108func (v *Value) Has(prop string) bool {
109 return !v.Get(prop).IsNil()
110}
111
112func (v *Value) Keys() []string {
113 obj := v.object()

Callers

nothing calls this directly

Calls 2

GetMethod · 0.95
IsNilMethod · 0.80

Tested by

no test coverage detected