Standard LibraryTypesMapMethodsitemsOn this pageitems Method of Map. items() -> List Returns a list of elements where each is a pair representing a key-value entry in the map.