MCPcopy Create free account
hub / github.com/mozilla/rhino / has

Method has

rhino/src/main/java/org/mozilla/javascript/Scriptable.java:114–114  ·  view source on GitHub ↗

Indicates whether or not a named property is defined in an object. Does not traverse the prototype chain. The property is specified by a String name as defined for the get method. @param name the name of the property @param start the object in which the lookup began @return true if

(String name, Scriptable start)

Source from the content-addressed store, hash-verified

112 * @see org.mozilla.javascript.ScriptableObject#getProperty(Scriptable, String)
113 */
114 @Override
115 public boolean has(String name, Scriptable start);
116
117 /**

Callers 7

hasOwnPropertyMethod · 0.95
js_entriesMethod · 0.95
js_valuesMethod · 0.95
js_assignMethod · 0.95
deletePropertyMethod · 0.95
getBaseMethod · 0.95

Implementers 5

ScriptableObjectrhino/src/main/java/org/mozilla/javasc
ScriptableUndefinedrhino/src/main/java/org/mozilla/javasc
FooBoilerplaterhino/src/test/java/org/mozilla/javasc
NativeJavaObjectrhino/src/main/java/org/mozilla/javasc
Matrixexamples/src/main/java/Matrix.java

Calls

no outgoing calls

Tested by

no test coverage detected