selfcarebot/node_modules/random/dist/validation.d.ts
2023-03-31 03:22:50 +00:00

10 lines
336 B
TypeScript

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;
}