Open Asterune
IntConstrainedValue

IntConstrainedValue

Stores an integer constrained by minimum and maximum values.

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

Behavior

IntConstrainedValue stores an integer constrained by minimum and maximum values.

Summary

Members4
Properties3
Methods1

Properties

MaxValue

IntConstrainedValue.MaxValue: number

The upper bound of the stored value.

MinValue

IntConstrainedValue.MinValue: number

The lower bound of the stored value.

Value

IntConstrainedValue.Value: number

The value stored by this instance.

Methods

GetExecutionGroup

IntConstrainedValue: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