mirror of
https://github.com/nushell/nushell.git
synced 2025-04-23 12:48:22 +02:00
Update crates/nu-command/src/filters/where_.rs
Co-authored-by: Douglas <32344964+NotTheDr01ds@users.noreply.github.com>
This commit is contained in:
parent
1da3beb1ca
commit
3f70895969
@ -16,7 +16,7 @@ impl Command for Where {
|
|||||||
fn extra_description(&self) -> &str {
|
fn extra_description(&self) -> &str {
|
||||||
r#"A condition is evaluated for each element of the input, and only elements which meet the condition are included in the output.
|
r#"A condition is evaluated for each element of the input, and only elements which meet the condition are included in the output.
|
||||||
|
|
||||||
A condition can be either a "row condition", or a closure. A row condition is a special short-hand syntax to makes accessing fields easier.
|
A condition can be either a "row condition" or a closure. A row condition is a special short-hand syntax to simplify field access.
|
||||||
Each element of the input can be accessed through the $it variable.
|
Each element of the input can be accessed through the $it variable.
|
||||||
|
|
||||||
On the left hand side of a row condition, any field name is automatically expanded to use $it.
|
On the left hand side of a row condition, any field name is automatically expanded to use $it.
|
||||||
|
Loading…
Reference in New Issue
Block a user