MCPcopy Create free account
hub / github.com/dop251/goja / IsGeneric

Method IsGeneric

object.go:79–81  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

77}
78
79func (p *PropertyDescriptor) IsGeneric() bool {
80 return !p.IsAccessor() && !p.IsData()
81}
82
83func (p *PropertyDescriptor) toValue(r *Runtime) Value {
84 if p.jsDescriptor != nil {

Callers 1

Calls 2

IsAccessorMethod · 0.95
IsDataMethod · 0.95

Tested by

no test coverage detected