MCPcopy Create free account
hub / github.com/dynjs/dynjs / hasProperty

Method hasProperty

src/main/java/org/dynjs/runtime/DynObject.java:164–168  ·  view source on GitHub ↗
(ExecutionContext context, String name)

Source from the content-addressed store, hash-verified

162 }
163
164 @Override
165 public boolean hasProperty(ExecutionContext context, String name) {
166 // 8.12.6
167 return (getProperty(context, name, false) != Types.UNDEFINED);
168 }
169
170 @Override
171 public void put(ExecutionContext context, final String name, final Object value, final boolean shouldThrow) {

Callers 4

callMethod · 0.95
callMethod · 0.95
callMethod · 0.95
callMethod · 0.95

Calls 1

getPropertyMethod · 0.95

Tested by

no test coverage detected