Constraints to be applied on integer

Since 2.6.0

interface IntegerConstraints {
    max?: number;
    min?: number;
}

Properties

Properties

max?: number

Upper bound for the generated integers (included)

0x7fffffff

Since 2.6.0

min?: number

Lower bound for the generated integers (included)

-0x80000000

Since 2.6.0