(
datum: Datum,
i: number,
column: IColumn,
active: boolean,
selected: boolean
)
| 147 | export type Filter<T> = (s: T[]) => T[]; |
| 148 | |
| 149 | export const matchesDataCell = ( |
| 150 | datum: Datum, |
| 151 | i: number, |
| 152 | column: IColumn, |
| 153 | active: boolean, |
| 154 | selected: boolean |
| 155 | ): Filter<IConvertedStyle> => |
| 156 | R.filter<IConvertedStyle>( |
| 157 | style => |
| 158 | !style.checksHeaderRow() && |
| 159 | style.matchesActive(active) && |
| 160 | style.matchesSelected(selected) && |
| 161 | style.matchesDataRow(i) && |
| 162 | style.matchesColumn(column) && |
| 163 | style.matchesFilter(datum) |
| 164 | ); |
| 165 | |
| 166 | export const matchesFilterCell = (column: IColumn): Filter<IConvertedStyle> => |
| 167 | R.filter<IConvertedStyle>( |
no test coverage detected
searching dependent graphs…