to_csv

Function to_csv 

Source
pub fn to_csv(doc: &Document) -> Result<String>
Expand description

Convert a HEDL document to CSV string.

ยงExample

use hedl_core::Document;
use hedl_csv::to_csv;

let doc = Document::new((1, 0));
let csv_string = to_csv(&doc).unwrap();