operator - method

  1. @useResult
KtMap<K, V> operator -(
  1. K key
)

Returns a map containing all entries of the original map except the entry with the given key.

The returned map preserves the entry iteration order of the original map.

Implementation

@useResult
KtMap<K, V> operator -(K key) => minus(key);