Skip to content
Functionutilsv0.8.17

longestStringLength

Function takes an array of strings or numbers and returns the number of characters in the longest string/number

longestStringLength(
    arr: (string | number)[]
): number