func (m *Dictionary[KT, VT]) Remove(k KT) bool {
	m.lock.Lock()
	defer m.lock.Unlock()
	_, ok := m.m[k]
	if !ok {
		return false
	}
	delete(m.m, k)
	return true
}
// Remove deletes the key from the dictionary.
Remove deletes the key from the dictionary.
// Remove deletes the key from the dictionary .
func (m *Dictionary[KT, VT]) Remove(k KT) bool {
	m.lock.Lock()
	defer m.lock.Unlock()
	_, ok := m.m[k]
	if !ok {
		return false
	}
	delete(m.m, k)
	return true
}
func ( m * Dictionary [ KT , VT ] ) Remove ( k KT ) bool { m . lock . Lock ( ) defer m . lock . Unlock ( ) _ , ok := m . m [ k ] if ! ok { return false } delete ( m . m , k ) return true }
Remove deletes the key from the dictionary.
Remove deletes the key from the dictionary .