Selector

typealias Selector<T, R> = T.(it: T) -> R

Selector

Selector is a lambda function expecting an R result given an instance of T as context (this and it).

Shorthand for:

T.(it: T) -> R