Link Search Menu Expand Document

HSL overview

Added in v1.0.0


Table of contents


utils

HSL

Signature

export declare const HSL: t.BrandC<t.StringC, HSLBrand>

Added in v1.0.0

HSL (type alias)

Signature

export type HSL = t.Branded<string, HSLBrand>

Added in v1.0.0

HSLBrand (interface)

Signature

export interface HSLBrand {
  readonly HSL: unique symbol
}

Added in v1.0.0

hslDecoder

Signature

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

Added in v1.1.0