filterRows

fun <TData> filterRows(rows: List<Row<TData>>, filterRowImpl: (row: Row<TData>) -> Any?, table: Table<TData>): RowModel<TData>

Filters rows through filterRowImpl, producing a new RowModel.

When table.options.filterFromLeafRows is true, rows are evaluated leaf-first — a parent row is kept when any descendant passes (in addition to itself passing). Otherwise rows are evaluated root-first and a failing parent prunes its entire sub-tree.

filterRowImpl returns Any? and is consumed via isTruthy at each call site.