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

Parameter overview

Added in v1.0.0


Table of contents


constructor

make

Signature

export declare const make: <A>(name: string, type: DataType, options?: ParameterOptions) => Parameter<A>

Added in v1.0.0

model

Parameter (interface)

Signature

export interface Parameter<A> {
  readonly [ParameterId]: (_: never) => A
  readonly _tag: "Parameter"
  readonly name: string
  readonly type: DataType
  readonly options: ParameterOptions
}

Added in v1.0.0

type id

ParameterId

Signature

export declare const ParameterId: typeof ParameterId

Added in v1.0.0

ParameterId (type alias)

Signature

export type ParameterId = typeof ParameterId

Added in v1.0.0