Interface ValidateNumberOptions

Hierarchy

  • ValidateNumberOptions

Properties

Properties

enum?: number[]

Only allow Values from the enum

max?: number | NativeDate | [number, string] | [NativeDate, string] | readonly [number, string] | readonly [NativeDate, string]

Only allow numbers lower than this

min?: number | NativeDate | [number, string] | [NativeDate, string] | readonly [number, string] | readonly [NativeDate, string]

Only allow numbers that are higher than this

Generated using TypeDoc