Link Search Menu Expand Document

URL overview

Added in v1.0.0


Table of contents


decoders

urlDecoder

Signature

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

Added in v1.1.0

utils

URL

Signature

export declare const URL: t.BrandC<t.StringC, URLBrand>

Added in v1.0.0

URL (type alias)

Signature

export type URL = t.Branded<string, URLBrand>

Added in v1.0.0

URLBrand (interface)

Signature

export interface URLBrand {
  readonly URL: unique symbol
}

Added in v1.0.0