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

Method hasInstance

object_dynamic.go:455–457  ·  view source on GitHub ↗
(v Value)

Source from the content-addressed store, hash-verified

453}
454
455func (o *baseDynamicObject) hasInstance(v Value) bool {
456 panic(newTypeError("Expecting a function in instanceof check, but got a dynamic object"))
457}
458
459func (*baseDynamicObject) isExtensible() bool {
460 return true

Callers

nothing calls this directly

Calls 1

newTypeErrorFunction · 0.85

Tested by

no test coverage detected