Link Search Menu Expand Document

Numeric overview

Added in v1.0.0


Table of contents


utils

Numeric

Signature

export declare const Numeric: t.BrandC<t.StringC, NumericBrand>

Added in v1.0.0

Numeric (type alias)

Signature

export type Numeric = t.Branded<string, NumericBrand>

Added in v1.0.0

NumericBrand (interface)

Signature

export interface NumericBrand {
  readonly Numeric: unique symbol
}

Added in v1.0.0

numericDecoder

Signature

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

Added in v1.1.0