The key of the current item.

Require is_ok.

Property definitions

core $ MapIterator :: key
	# The key of the current item.
	# Require `is_ok`.
	fun key: K is abstract
lib/core/collection/abstract_collection.nit:774,2--776,23

core $ CoupleMapIterator :: key
	redef fun key do return _iter.item.first
lib/core/collection/abstract_collection.nit:1308,2--41

core $ HashMapIterator :: key
	redef fun key
	do
		assert is_ok
		return _node._key
	end
lib/core/collection/hash_collection.nit:399,2--403,4

trees $ BinTreeMapIterator :: key
	redef fun key do do return current.key
lib/trees/bintree.nit:464,2--39

matrix $ MatrixIndexIterator :: key
	redef var key = new MatrixCoordinate(0, 0)
lib/matrix/matrix.nit:267,2--43

curl $ HeaderMapIterator :: key
	redef fun key do return self.iterator.item.first
lib/curl/curl.nit:667,2--49

template $ TemplateStringIterator :: key
	redef fun key do return key_it.item
lib/template/macro.nit:373,2--36