We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
I think I've found a regression in the empty? command; if you pipe it a list, it outputs a new list instead of a scalar value.
empty?
Run [red green blue] | empty?, note that it returns a list of booleans.
[red green blue] | empty?
I expected empty? to return a single boolean indicating whether the list it was given is empty.
There is an example for empty? in the docs which is how I first noticed this. https://www.nushell.sh/book/working_with_lists.html
The text was updated successfully, but these errors were encountered:
Relevant issue: #3903
Sorry, something went wrong.
default
Successfully merging a pull request may close this issue.
Describe the bug
I think I've found a regression in the
empty?
command; if you pipe it a list, it outputs a new list instead of a scalar value.How to reproduce
Run
[red green blue] | empty?
, note that it returns a list of booleans.Expected behavior
I expected
empty?
to return a single boolean indicating whether the list it was given is empty.Screenshots
Configuration
Additional context
There is an example for
empty?
in the docs which is how I first noticed this. https://www.nushell.sh/book/working_with_lists.htmlThe text was updated successfully, but these errors were encountered: