| 398 | } |
| 399 | |
| 400 | auto javaFunction = Valdi::castOrNull<ValueFunctionWithJavaFunction>(value); |
| 401 | if (javaFunction != nullptr) { |
| 402 | // unwrap the underlying Java object |
| 403 | return javaFunction->toObject(); |
| 404 | } |
| 405 | |
| 406 | auto* functionCopy = new Valdi::Value(value); |
no test coverage detected