Standard LibraryTypesMapPairMethodsfirstOn this pagefirst Method of MapPair. first() -> const string Returns the first element of the pair.