@gatekeeper_technology/report-utils
Version:
Gatekeeper's pdf/email Utils - shared in NPM
13 lines • 638 B
TypeScript
export { getDisplayValue, getDisplayLabel, formatText, sortArrayByField };
/**
* Returns the display value of single choice integers and single choice
* This could be done better with the "?." property.
*/
declare function getDisplayValue(object: any, field: string): any;
/**
* This could be done better with the "?." property.
*/
declare function getDisplayLabel(object: any, field: string): any;
declare function formatText(text: string, type?: "lower" | "higher"): string;
declare function sortArrayByField(object_array: any[], field_name: string, sort_direction?: 1 | 0 | -1): any[];
//# sourceMappingURL=general_utils.d.ts.map