bits and for bits> bits and {flags} (target)
target: target integer to perform bit and| input | output | 
|---|---|
| int | int | 
| list<int> | list<int> | 
Apply bits and to two numbers
>2|bits and2
2
Apply logical and to a list of numbers
> [432] |bits and2
╭───┬───╮
│0│0│
│1│2│
│2│2│
╰───┴───╯
Tips: Command bits and was not included in the official binaries by default, you have to build it with --features=extra flag
    Copyright © 2019–2023 The Nushell Project DevelopersLicensed under the MIT License.
    https://www.nushell.sh/commands/docs/bits_and.html