Nushell supports multiple data types. If you get lost what exact data type you are working with just right now, the describe
command can help:
❯ echo 1 | describe
integer
❯ echo "1" | describe
string
Unfortunately right now it does not support structured data types like “list” or “table”. Hopefully that will be added in the future:
❯ echo [a b c] | describe
───┬─────────────────────
0 │ string
1 │ string
2 │ string
───┴─────────────────────