Skip to content

Function getLongestCommonPrefix() ​

getLongestCommonPrefix(strings: string[]): string

Source: string.utils.ts

Returns the longest common prefix from a list of strings.

Parameters ​

strings ​

string[]

Returns ​

string

Built by Prozilla