path exists for path> path exists {flags} 
| input | output | 
|---|---|
| list<string> | list<bool> | 
| string | bool | 
Check if a file exists
>'/home/joe/todo.txt'|path exists
false
Check if files in list exist
> [ /home/joe/todo.txt, /home/doe/todo.txt ] |path exists
╭───┬───────╮
│0│false│
│1│false│
╰───┴───────╯
This only checks if it is possible to either open or cd to the given path. If you need to distinguish dirs and files, please use path type.
    Copyright © 2019–2023 The Nushell Project DevelopersLicensed under the MIT License.
    https://www.nushell.sh/commands/docs/path_exists.html