AutoMovie API
    Preparing search index...

    Variable validateRangeConst

    validateRange: (
        value: unknown,
        path: string,
        min: number,
        max: number,
        label: string,
        violations: IAutoMovieConstraintViolation[],
        inclusiveMin?: boolean,
        inclusiveMax?: boolean,
    ) => void = ...

    Require a finite numeric actual value between independently configured open/closed endpoints.

    Both endpoints default to inclusive. Infinite bounds are permitted, but the tested value must be a finite number and is never coerced into one. Refusals retain the authored value; failed string conversion produces an uninspectable value only in the explanatory text.

    Type Declaration

      • (
            value: unknown,
            path: string,
            min: number,
            max: number,
            label: string,
            violations: IAutoMovieConstraintViolation[],
            inclusiveMin?: boolean,
            inclusiveMax?: boolean,
        ): void
      • Parameters

        • value: unknown
        • path: string
        • min: number
        • max: number
        • label: string
        • violations: IAutoMovieConstraintViolation[]
        • OptionalinclusiveMin: boolean
        • OptionalinclusiveMax: boolean

        Returns void