@gentrace/core
Version:
Core Gentrace Node.JS library
10 lines (9 loc) • 323 B
TypeScript
/**
* Transform the data for a request or a response
*
* @param {Array|Function} fns A single function or Array of functions
* @param {?Object} response The response object
*
* @returns {*} The resulting transformed data
*/
export default function transformData(fns: any[] | Function, response: Object | null): any;