@minecraft/server-editor
    Preparing search index...

    Class NumberLimitObservableValidatorBeta

    Validates min/max limits of observable objects that support number

    Implements

    Index

    Constructors

    Properties

    Methods

    Constructors

    • Beta

      Parameters

      • min: undefined | number
      • max: undefined | number
      • OptionalisInteger: boolean

      Returns NumberLimitObservableValidator

      Constructs a new instance of the NumberLimitObservableValidator class

    Properties

    _isInteger?: boolean

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

    _max?: number

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

    _min?: number

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

    Methods

    • Beta

      Parameters

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

      Returns void

    • Beta

      Parameters

      • newValue: number

      Returns number