@dxtmisha/functional-basic
Version:
Core functional utility library for modern web development without framework dependencies
9 lines (8 loc) • 392 B
TypeScript
import { ObjectOrArray } from '../types/basicTypes';
/**
* Searches for the longest string in the array and returns its length.
*
* Ищет самую длинную строку в массиве и возвращает её длину.
* @param data array with data/ массив с данными
*/
export declare function getMaxLengthAllArray(data: ObjectOrArray<string>): number;