CsvTableFiltering extension

Filtering and querying operations on CsvTable.

on

Methods

any(bool test(CsvRow row)) bool

Available on CsvTable, provided by the CsvTableFiltering extension

Check if any row matches predicate.
distinct({List<String>? columns}) CsvTable

Available on CsvTable, provided by the CsvTableFiltering extension

Get distinct rows based on all fields or specific columns.
every(bool test(CsvRow row)) bool

Available on CsvTable, provided by the CsvTableFiltering extension

Check if all rows match predicate.
firstWhere(bool test(CsvRow row)) CsvRow?

Available on CsvTable, provided by the CsvTableFiltering extension

Find first row matching predicate (or null).
range(int start, [int? end]) CsvTable

Available on CsvTable, provided by the CsvTableFiltering extension

Get rows in index range. Returns new CsvTable.
skip(int count) CsvTable

Available on CsvTable, provided by the CsvTableFiltering extension

Skip first N rows.
take(int count) CsvTable

Available on CsvTable, provided by the CsvTableFiltering extension

Get first N rows.
where(bool test(CsvRow row)) CsvTable

Available on CsvTable, provided by the CsvTableFiltering extension

Filter rows matching predicate. Returns new CsvTable.