@enzoooooo/ci-cd-project
    Preparing search index...

    Function checkCP

    • Checks if a postal code is in the French format (5 digits).

      Parameters

      • cp: string

        Postal code to validate.

      Returns boolean

      • True if valid.