mirror of
https://github.com/nushell/nushell.git
synced 2025-06-30 22:50:14 +02:00
Columns can be renamed. (#1447)
This commit is contained in:
committed by
GitHub
parent
f97f9d4af3
commit
c731a5b628
@ -130,6 +130,11 @@ impl Dictionary {
|
||||
self.entries.keys()
|
||||
}
|
||||
|
||||
/// Iterate the values in the Dictionary
|
||||
pub fn values(&self) -> impl Iterator<Item = &Value> {
|
||||
self.entries.values()
|
||||
}
|
||||
|
||||
/// Checks if given key exists
|
||||
pub fn contains_key(&self, key: &str) -> bool {
|
||||
self.entries.contains_key(key)
|
||||
|
Reference in New Issue
Block a user