Link Search Menu Expand Document

HostName overview

Added in v1.0.0


Table of contents


brands

HostName

Signature

export declare const HostName: t.BrandC<t.StringC, HostNameBrand>

Added in v1.0.0

decoders

hostNameDecoder

Signature

export declare const hostNameDecoder: <S extends string>() => D.Decoder<
  S,
  t.Branded<S, t.Branded<string, HostNameBrand>>
>

Added in v1.1.0

types

HostName (type alias)

Signature

export type HostName = t.Branded<string, HostNameBrand>

Added in v1.0.0

HostNameBrand (interface)

Signature

export interface HostNameBrand {
  readonly HostName: unique symbol
}

Added in v1.0.0