MCPcopy Create free account
hub / github.com/eclipsesource/J2V8 / executeBooleanScript

Method executeBooleanScript

src/main/java/com/eclipsesource/v8/V8.java:629–631  ·  view source on GitHub ↗

Executes a JS Script on this runtime and returns the result as a boolean. If the result is not a boolean, then a V8ResultUndefinedException is thrown. @param script The script to execute. @return The result of the script as a boolean, or V8ResultUndefinedException if the result is not a boolean.

(final String script)

Source from the content-addressed store, hash-verified

source not stored for this graph (policy: none)

Calls 3

checkThreadMethod · 0.95
checkScriptMethod · 0.95
_executeBooleanScriptMethod · 0.95