Function longestCommonPrefix

  • Get the longest common prefix of strings.

    Parameters

    • x: string

      a string

    • y: string

      another string

    Returns string

    longest common prefix

Generated using TypeDoc