Open Asterune
DoubleConstrainedValue

DoubleConstrainedValue

Stores a number constrained by minimum and maximum values.

Creatable
Instance.new("DoubleConstrainedValue")
Inherits
ValueBaseInstance
Replication
Standard

Behavior

DoubleConstrainedValue stores a number constrained by minimum and maximum values.

Summary

Members4
Properties3
Methods1

Properties

MaxValue

DoubleConstrainedValue.MaxValue: number

The upper bound of the stored value.

MinValue

DoubleConstrainedValue.MinValue: number

The lower bound of the stored value.

Value

DoubleConstrainedValue.Value: number

The value stored by this instance.

Methods

GetExecutionGroup

DoubleConstrainedValue:GetExecutionGroup(): ExecutionGroup?

Returns this instance if it is an ExecutionGroup. Otherwise returns the nearest ancestor ExecutionGroup, or nil when no group contains the instance.

Inherited members

Inherited47

ValueBase