Function that iterates over the specified object item and returns the key.
item
Type of object being iterated.
Function that iterates over the specified object
itemand returns the key.