Skip to content

CSVWriter » close

Closes the stream to the CSV file.

The object the function is called with will no longer be useable.

Parameters

No parameters

Example

js
let csv = datasource.csv("example_file.csv"); 
csv.close();
let csv = datasource.csv("example_file.csv"); 
csv.close();