FinderRuleset
Optional wrapper to ensures that an array of rules all have the correct shape.
const rule = finderRules<FItem>([
sortByRule{
id: "unique_identifier",
sortFn: (item: FItem) => string | number,
},
groupByRule{
id: "unique_identifier",
groupFn: (item: FItem) => string | number,
},
]);