Skip to main content Link Search Menu Expand Document (external link)

Thing overview

Added in v0.0.0


Table of contents


combinators

addTag

Signature

export declare const addTag: ((tag: string) => <A>(self: Thing<A>) => Thing<A>) &
  (<A>(self: Thing<A>, tag: string) => Thing<A>)

Added in v0.0.0

mapValue

Signature

export declare const mapValue: (<A, B>(f: (value: A) => B) => (self: Thing<A>) => Thing<B>) &
  (<A, B>(self: Thing<A>, f: (value: A) => B) => Thing<B>)

Added in v0.0.0

constructors

make

Signature

export declare const make: <A>(input: internal.ThingInput<A>) => internal.Thing<A>

Added in v0.0.0

models

Thing (interface)

Signature

export interface Thing<A> extends internal.Thing<A> {}

Added in v0.0.0

ThingInput (type alias)

Configuration used to construct a Thing.

Signature

export type ThingInput<A> = internal.ThingInput<A>

Added in v0.0.0

refinements

isThing

Signature

export declare const isThing: (u: unknown) => u is internal.Thing<unknown>

Added in v0.0.0

type id

TypeId

Signature

export declare const TypeId: typeof internal.TypeId

Added in v0.0.0

TypeId (type alias)

Signature

export type TypeId = internal.TypeId

Added in v0.0.0