forked from extern/nushell
Allow folding with tables. (#2538)
This commit is contained in:
committed by
GitHub
parent
dcfa135ab9
commit
7528094e12
@ -385,12 +385,10 @@ impl Value {
|
||||
value: UntaggedValue::Primitive(p),
|
||||
..
|
||||
} => p.is_empty(),
|
||||
t
|
||||
@
|
||||
Value {
|
||||
value: UntaggedValue::Table(_),
|
||||
value: UntaggedValue::Table(rows),
|
||||
..
|
||||
} => t.table_entries().all(|row| row.is_empty()),
|
||||
} => rows.is_empty(),
|
||||
r
|
||||
@
|
||||
Value {
|
||||
|
Reference in New Issue
Block a user