NumberRange

Overview

Constructors

new

Creates a new instance of the NumberRange with the given minimum and maximum values.

Parameters

number InMin

The minimum value of the range.

number InMax

The maximum value of the range.

Return

NumberRange

A new NumberRange object.

Code Samples

local NumRange = NumberRange.new(1, 10)

Properties

Min

number

This property represents the minimum value of the range.

Code Samples

Max

number

This property represents the maximum value of the range.

Code Samples

Methods

Last updated