<Converting a generic function to Kotlin fails> I'...
# stackoverflow
u
Converting a generic function to Kotlin fails I'd like to rewrite some of my code to Kotlin. I pasted the working code first to show the origin. I tried The following is a working excerpt written in JAVA: Function1.class (part of a framework): public interface Function1 { R call(T1 var1); } Authmanager.class: public boolean isAuthed() { Boolean isAuthed = getWithAuthPolicyManager( authPolicyManager -> authPolicyManager.getBoolean(IS_AUTHED) ); if (isAuthed != null) { return isAuthed; } else...