Resolves to a numeric value for a given item. Either the key of a numeric property, or a function that derives the number.
const byRevenue: NumberAccessor<Row> = 'revenue';const byProfit: NumberAccessor<Row> = (r) => r.revenue - r.cost; Copy
const byRevenue: NumberAccessor<Row> = 'revenue';const byProfit: NumberAccessor<Row> = (r) => r.revenue - r.cost;
Resolves to a numeric value for a given item. Either the key of a numeric property, or a function that derives the number.