<@U092N7GGG>: this is declaration of function that...
# announcements
n
@yole: this is declaration of function that is called
inline fun List<Vector2>.takeByTo(count: Int, to: Array<Vector2>, by: (Vector2) -> Float): Array<Vector2>
and here is how I call function that makes access check (in foreach block):
list.takeByTo(neighbourConnections, nearest) { if (p === it) Float.MAX_VALUE else p.distance2To(it) }....