Standard LibraryTypesPairMethodsfirstOn this pagefirst Method of Pair. first() -> Object Returns the first element of the pair.