@metreeca/blue - v0.9.1
    Preparing search index...

    Interface NumberConstraints

    Constraints for the number shape factory.

    Extends NumericConstraints with the prototype model value.

    interface NumberConstraints {
        model?: number;
        minExclusive?: number;
        maxExclusive?: number;
        minInclusive?: number;
        maxInclusive?: number;
        in?: readonly number[];
        hasValue?: readonly number[];
    }

    Hierarchy (View Summary)

    Index

    Properties

    model?: number

    Prototype value for runtime model assembly.

    0

    minExclusive?: number

    Exclusive minimum value (value must be strictly greater).

    undefined (no minimum constraint)

    maxExclusive?: number

    Exclusive maximum value (value must be strictly less).

    undefined (no maximum constraint)

    minInclusive?: number

    Inclusive minimum value (value must be greater than or equal).

    undefined (no minimum constraint)

    maxInclusive?: number

    Inclusive maximum value (value must be less than or equal).

    undefined (no maximum constraint)

    in?: readonly number[]

    Allowed values (closed enumeration).

    When specified, values must be members of this list.

    undefined (no enumeration constraint)

    hasValue?: readonly number[]

    Required values that must be present.

    When specified, all listed values must appear in the resource.

    undefined (no required values)