API Reference | fast-check | Property based testing framework
    Preparing search index...

    Type Alias BigIntArrayConstraints

    Constraints to be applied on typed arrays for big int values

    Since 3.0.0

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

    Properties

    max?: bigint

    Upper bound for the generated int (included)

    highest possible value for this type
    

    Since 3.0.0

    maxLength?: number

    Upper bound of the generated array size

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

    Since 3.0.0

    min?: bigint

    Lower bound for the generated int (included)

    smallest possible value for this type
    

    Since 3.0.0

    minLength?: number

    Lower bound of the generated array size

    0
    

    Since 3.0.0

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

    Since 3.0.0