Skip to content

Instantly share code, notes, and snippets.

@iboss-ptk
Created July 10, 2018 06:11
Show Gist options
  • Select an option

  • Save iboss-ptk/1880dc344c3702e2517b8cbb855d9488 to your computer and use it in GitHub Desktop.

Select an option

Save iboss-ptk/1880dc344c3702e2517b8cbb855d9488 to your computer and use it in GitHub Desktop.
package kotlin.jvm.functions
// In this package, it contains Function1 - 22
public interface Function3<in P1, in P2, in P3, out R> : Function<R> {
public operator fun invoke(p1: P1, p2: P2, p3: P3): R
}
// The (PhoneNumber, String, String) -> MessageCreator is actually just
// Function3<PhoneNumber, String, String, MessageCreator>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment