Skip to content

Parameter

4 exports Added in v1.0.0 Source

Constructor

make

Added in v1.0.0 Source

Signature

declare function make<A>(name: string, type: DataType, options: ParameterOptions): Parameter<A>;

Model

Parameter interface

Added in v1.0.0 Source

Signature

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

Type Id

ParameterId

Added in v1.0.0 Source

Signature

declare const ParameterId: typeof ParameterId;

ParameterId type

Added in v1.0.0 Source

Signature

type ParameterId = typeof ParameterId;