Skip to content
Functionutilsv0.9.0

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