arquero
Version:
Query processing and transformation of array-backed data tables.
9 lines (8 loc) • 336 B
TypeScript
/**
* Annotate a table expression to indicate descending sort order.
* @param {string|Function|object} expr The table expression to annotate.
* @return {object} A wrapped expression indicating descending sort.
* @example desc('colA')
* @example desc(d => d.colA)
*/
export function desc(expr: string | Function | object): object;