IntArrayConstraints: {
    max?: number;
    maxLength?: number;
    min?: number;
    minLength?: number;
    size?: SizeForArbitrary;
}

Constraints to be applied on typed arrays for integer values

Remarks

Since 2.9.0

Type declaration

  • Optional max?: number

    Upper bound for the generated int (included)

    Default Value

    highest possible value for this type

    Remarks

    Since 2.9.0

  • Optional maxLength?: number

    Upper bound of the generated array size

    Default Value

    0x7fffffff — defaulting seen as "max non specified" when defaultSizeToMaxWhenMaxSpecified=true

    Remarks

    Since 2.9.0

  • Optional min?: number

    Lower bound for the generated int (included)

    Default Value

    smallest possible value for this type

    Remarks

    Since 2.9.0

  • Optional minLength?: number

    Lower bound of the generated array size

    Default Value

    0

    Remarks

    Since 2.9.0

  • Optional size?: SizeForArbitrary

    Define how large the generated values should be (at max)

    Remarks

    Since 2.22.0

Generated using TypeDoc