You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
11 lines
336 B
11 lines
336 B
export declare function numberValidator(num: number): NumberValidator;
|
|
export declare class NumberValidator {
|
|
private n;
|
|
constructor(num: number);
|
|
isInt: () => this;
|
|
isPositive: () => this;
|
|
lessThan: (v: number) => this;
|
|
greaterThanOrEqual: (v: number) => this;
|
|
greaterThan: (v: number) => this;
|
|
}
|