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

    Interface NumericConstraints

    Constraints for numeric shape factories.

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

    Hierarchy (View Summary)

    Index

    Properties

    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)