Skip to content

CSVReader » isEOF

Returns a boolean. Returns true if there is no more lines of the csv file to be read. Returns false if there are more lines to read.

Parameters

No parameters

Example

js
let csv = datasource.csvRead("example_file.csv");
while(!csv.isEOF()) { 
    let line = csv.read(); 
    console.log(line);
}

TIP

This will log all lines of the csv file into the console in a JSON format.