Link Search Menu Expand Document

CountryCode overview

Added in v1.0.0


Table of contents


utils

CountryCode

Signature

export declare const CountryCode: t.BrandC<t.StringC, CountryCodeBrand>

Added in v1.0.0

CountryCode (type alias)

Signature

export type CountryCode = t.Branded<string, CountryCodeBrand>

Added in v1.0.0

CountryCode2

2 character country code. I.e “US”

Signature

export declare const CountryCode2: t.BrandC<t.StringC, CountryCode2Brand>

Added in v1.0.0

CountryCode2 (type alias)

Signature

export type CountryCode2 = t.Branded<string, CountryCode2Brand>

Added in v1.0.0

CountryCode2Brand (interface)

Signature

export interface CountryCode2Brand {
  readonly CountryCode2: unique symbol
}

Added in v1.0.0

CountryCode3

3 character country code. I.e “USA”

Signature

export declare const CountryCode3: t.BrandC<t.StringC, CountryCode3Brand>

Added in v1.0.0

CountryCode3 (type alias)

Signature

export type CountryCode3 = t.Branded<string, CountryCode3Brand>

Added in v1.0.0

CountryCode3Brand (interface)

Signature

export interface CountryCode3Brand {
  readonly CountryCode3: unique symbol
}

Added in v1.0.0

CountryCodeBrand (interface)

Signature

export interface CountryCodeBrand {
  readonly CountryCode: unique symbol
}

Added in v1.0.0