map

abstract fun <R> map(mapper: (T) -> R): Indexed<K, R>

Returns a new Indexed with the same index, and value transformed via mapper.