Class NumberLimitObservableValidator

Validates min/max limits of observable objects that support number

Hierarchy

  • NumberLimitObservableValidator

Implements

Constructors

Properties

Methods

Constructors

  • Parameters

    • min: undefined | number
    • max: undefined | number
    • Optional isInteger: boolean

    Returns NumberLimitObservableValidator

    Remarks

    Constructs a new instance of the NumberLimitObservableValidator class

Properties

_isInteger?: boolean

Remarks

This property can't be edited in read-only mode.

_max?: number

Remarks

This property can't be edited in read-only mode.

_min?: number

Remarks

This property can't be edited in read-only mode.

Methods

  • Parameters

    • min: undefined | number
    • max: undefined | number

    Returns void

  • Parameters

    • newValue: number

    Returns number