``` /** * Return the plug-in acto...
# kobalt
c
Copy code
/**
         * Return the plug-in actor with the highest affinity.
         */
        fun <T : ISimpleAffinity<A>, A> selectAffinityActor(actors: List<T>, arg: A) = actors.maxBy { it.affinity(arg) }