We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 8531f7c commit 5e63928Copy full SHA for 5e63928
README.md
@@ -40,11 +40,11 @@ val message = JsExecutor.execute("JsModule.getMessage") //This is message from J
40
val logStr = JsExecutor.execute("JsModule.MathJs.log", 10000, 10) //4
41
```
42
43
-- Load a js bundle and execute functions
+- Get custom kotlin object
44
45
```groovy
46
// Primitive types
47
-val logDouble = JsExecutor.executeToGetObject<Double>("JsModule.MathJs.log", 1000, 10) //2.9999999999999996
+val logDouble = JsExecutor.executeToGetObject<Double>("JsModule.MathJs.log", 1000, 10) //2.999
48
49
// Custom object
50
val inputPoint = Point(3.4, 5.2)
0 commit comments