public static Function<List<Object>, Function> required = objects -> (Function<FunctionKeeper, Object>) (wrapper) -> {
if (LIVRUtils.isNoValue(wrapper.getValue())) {
return "REQUIRED";
}
return "";
};
How do I convert this Java8 lambda approach to Kotlin lambda?
wrapperis a function, isn't it? If yes, it has no methodgetValue(). Is that code correct?