UNPKG

quantitivecalc

Version:

A TypeScript library providing advanced quantitative finance functions for risk analysis, performance metrics, and technical indicators. (Currently in development)

8 lines 354 B
/** * Returns the last element of the provided array, or `undefined` if the array is empty. * * @param list - The array from which to retrieve the last element. * @returns The last element of the array, or `undefined` if the array is empty. */ export default function getLastRow<T>(list: T[]): T | undefined; //# sourceMappingURL=getLastRow.d.ts.map