Hyperlinkv0.8.0-beta.28

SchemaRepresentation

SchemaRepresentation.Numberinterfaceeffect/SchemaRepresentation.ts:213
Number

The number type with optional validation checks.

Details

checks holds number-specific constraints, such as int, finite, min, max, multipleOf, and between checks.

export interface Number {
  readonly _tag: "Number"
  readonly annotations?: Schema.Annotations.Annotations | undefined
  readonly checks: ReadonlyArray<Check<NumberMeta>>
}
Referenced by 2 symbols