Constraints to be applied on dictionary

Remarks

Since 2.22.0

interface DictionaryConstraints {
    maxKeys?: number;
    minKeys?: number;
    noNullPrototype?: boolean;
    size?: SizeForArbitrary;
}

Properties

maxKeys?: number

Lower bound for the number of keys defined into the generated instance

Default Value

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

Remarks

Since 2.22.0

minKeys?: number

Lower bound for the number of keys defined into the generated instance

Default Value

0

Remarks

Since 2.22.0

noNullPrototype?: boolean

Do not generate objects with null prototype

Default Value

true

Remarks

Since 3.13.0

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

Remarks

Since 2.22.0

Generated using TypeDoc