@FunctionalInterface
public interface JerryFunction
Modifier and Type | Method and Description |
---|---|
java.lang.Boolean |
onNode(Jerry $this,
int index)
Invoked on node.
|
java.lang.Boolean onNode(Jerry $this, 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.Copyright © 2003-present Jodd Team