Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
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
79
func
(p *PropertyDescriptor) IsGeneric() bool {
80
return
!p.IsAccessor() && !p.IsData()
81
}
82
83
func
(p *PropertyDescriptor) toValue(r *Runtime) Value {
84
if
p.jsDescriptor != nil {
Callers
1
__isCompatibleDescriptor
Method · 0.80
Calls
2
IsAccessor
Method · 0.95
IsData
Method · 0.95
Tested by
no test coverage detected