pols-utils - v5.3.11
    Preparing search index...

    Function compareWithoutAccentMarks

    • Compares two string values while ignoring accent marks.

      Parameters

      • value1: string

        The first string.

      • value2: string

        The second string.

      Returns boolean

      true if the values match when accent marks are ignored, otherwise false.

      console.log(PUtilsString.compareWithoutAccentMarks('target', 'target')) // true
      console.log(PUtilsString.compareWithoutAccentMarks('tárget', 'target')) // true