KADABRA API

LARA API

LARA Common Language API

(.js)
laraImport("lara.JavaInterop");

(.lara)
import lara.JavaInterop;

JavaInterop

JavaInterop

JavaInterop

Static Members

arrayToList

arrayToList(array)

Converts a JS array into a java.util.List.

Parameters

array: any

arrayToStringList

arrayToStringList(array)

Converts a JS array into a java.util.List where all objects are Strings.

Parameters

array: any

getClass

getClass(classname)

Parameters

classname: any

isInstance

isInstance(value, classname)

Parameters

value: object - value to test
classname: String - the full qualified name of the Java class of the value

isList

isList(value)

Parameters

value: any