Link Search Menu Expand Document

NonEmpty overview

Added in v1.0.0


Table of contents


decoders

nonEmptyDecoder

Signature

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

Added in v1.1.0

utils

NonEmpty

Signature

export declare const NonEmpty: t.BrandC<t.StringC, NonEmptyBrand>

Added in v1.0.0

NonEmpty (type alias)

Signature

export type NonEmpty = t.Branded<string, NonEmptyBrand>

Added in v1.0.0

NonEmptyBrand (interface)

Signature

export interface NonEmptyBrand {
  readonly NonEmpty: unique symbol
}

Added in v1.0.0