UNPKG

quantitivecalc

Version:

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

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