File

src/validation/number.ts

Implements

ValidationRule

Index

Properties
Methods

Constructor

constructor(message: string, lowerBound: Boundary | null, upperBound: Boundary | null)
Parameters :
Name Type Optional
message string No
lowerBound Boundary | null No
upperBound Boundary | null No

Properties

Public Readonly lowerBound
Type : Boundary | null
Public Readonly message
Type : string
Public Readonly upperBound
Type : Boundary | null

Methods

validate
validate(value: Value)
Parameters :
Name Type Optional
value Value No
Returns : ValidationResult

results matching ""

    No results matching ""