Standard LibraryTypesMapMethodsinsertOn this pageinsert Method of Map. insert(const MapPair pair) -> void Inserts a key-value pair into the container. Parameters pair: The key-value pair to insert.