Belin.io Core
    Preparing search index...

    Represents a country/region.

    Index

    Constructors

    Properties

    Accessors

    Methods

    Constructors

    Properties

    code: string

    The ISO 3166-1 alpha-2 code.

    Accessors

    Methods

    • Returns an appropriately localized display name for the specified locale.

      Parameters

      • locale: string | Locale = navigator.language

        The target locale.

      Returns string

      The localized display name in the specified locale.

    • Returns a JSON representation of this object.

      Returns string

      The JSON representation of this object.

    • Returns a string representation of this object.

      Returns string

      The string representation of this object.