Link Search Menu Expand Document

Port overview

Added in v1.0.0


Table of contents


decoders

portDecoder

Signature

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

Added in v1.1.0

utils

Port

Signature

export declare const Port: t.BrandC<t.StringC, PortBrand>

Added in v1.0.0

Port (type alias)

Signature

export type Port = t.Branded<string, PortBrand>

Added in v1.0.0

PortBrand (interface)

Signature

export interface PortBrand {
  readonly Port: unique symbol
}

Added in v1.0.0