LessThan constructor

LessThan(
  1. num number
)

Creates an instance of the LessThan validation rule with a specified number.

Parameters:

  • number: The numeric value to compare against.

Implementation

LessThan(this.number) : super.withKey(key);