Function
areCompareOptionsEqual
(
a: { direction?: `asc` | `desc`; [key: string]: any },
b: { direction?: `asc` | `desc`; [key: string]: any },
)
Source from the content-addressed store, hash-verified
| 1180 | } |
| 1181 | |
| 1182 | function areCompareOptionsEqual( |
| 1183 | a: { direction?: `asc` | `desc`; [key: string]: any }, |
| 1184 | b: { direction?: `asc` | `desc`; [key: string]: any }, |
| 1185 | ): boolean { |
| 1186 | // For now, just compare direction - could be enhanced for other options |
| 1187 | return a.direction === b.direction |
| 1188 | } |
| 1189 | |
| 1190 | interface ComparisonField { |
| 1191 | ref: PropRef |
Tested by
no test coverage detected