@FunctionalInterface
public interface JerryFunction
| Modifier and Type | Method and Description |
|---|---|
java.lang.Boolean |
onNode(Jerry node,
int index)
Invoked on node.
|
java.lang.Boolean onNode(Jerry node, int index)
true or null
to continue looping. The reason why it returns a Boolean
is because when Jerry is used in Nashorn, when javascript method
returns nothing it means it's not false.