selfcarebot/node_modules/random/dist/validation.d.ts

11 lines
336 B
TypeScript
Raw Normal View History

2023-03-31 03:22:50 +00:00
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;
}