to yaml for formats> to yaml {flags} 
| input | output | 
|---|---|
| any | string | 
Outputs an YAML string representing the contents of this table
> [[foobar]; ["1""2"]] |to yaml
-foo:'1'
bar:'2'
    Copyright © 2019–2023 The Nushell Project DevelopersLicensed under the MIT License.
    https://www.nushell.sh/commands/docs/to_yaml.html