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

Constraints to be applied on typed arrays for big int values

Type declaration

  • Optionalmax?: bigint

    Upper bound for the generated int (included)

    highest possible value for this type
    

    Since 3.0.0

  • OptionalmaxLength?: number

    Upper bound of the generated array size

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

    Since 3.0.0

  • Optionalmin?: bigint

    Lower bound for the generated int (included)

    smallest possible value for this type
    

    Since 3.0.0

  • OptionalminLength?: number

    Lower bound of the generated array size

    0
    

    Since 3.0.0

  • Optionalsize?: SizeForArbitrary

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

    Since 3.0.0

Since 3.0.0