KeyValueChangeRecord

Record representing the item change information.

interface KeyValueChangeRecord<K, V> { get key: K get currentValue: V | null get previousValue: V | null }

属性

属性名类型说明
key只读

Current key in the Map.

currentValue只读

Current value for the key or null if removed.

previousValue只读

Previous value for the key or null if added.