initHash

fun initHash(h: MutableMap<Any, Any>, key: Any, initialValue: Any): Any

Puts initialValue under key unless something is already there, and returns whichever value ended up in the map.