SonarJS linter helper functions
    Preparing search index...

    Function stripBOM

    • Removes any Byte Order Marker (BOM) from a string's head

      A string's head is nothing else but its first character.

      Parameters

      • str: string

        the input string

      Returns string

      the stripped string