GraalJS Java interoperability tools.
Static
Greates a shallow copy of given Java array or list. This is usually unnecessary, because you can use the Java arrays and lists directly as well.
Java array or list.
JavaScript array.
Checks if a value is Java object or native JavaScript value.
Value to check.
If it is a Java object.
Checks if a value is Java class instance (type).
If it is a Java class instance.
Converts a JavaScript value to Java type. This is usually handled automatically.
JavaScript value.
Java type to convert it to.
Java object.
Gets a Java class or throws if it cannot be found.
Fully qualified name.
Java class.
Gets type name of given Java class instance.
Value to get type name for.
Type name of given class instance, or undefined if a value that is not a class instance was given.
GraalJS Java interoperability tools.