# ↓ Instance

|                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                             |                                                                                                                                                                                                                                                                                                                                             |
| --------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
| <p><strong>public</strong> <a href="foreachstep"><strong>forEachStep()</strong></a>: <mark style="color:green;">this</mark><br>Performs the specified action for each step in the <a href="../properties/max">maximum</a> range of an <a href="https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Array"><code>Array</code></a>.</p>                                                                                                                                                          |                                                                                                                                                                                                                                                                                                                                             |
| <p><strong>public</strong> <a href="getcurrentrange"><strong>getCurrentRange()</strong></a>: <mark style="color:green;">Readonly</mark><<mark style="color:green;">Array</mark><<mark style="color:green;">number</mark>>>                                                                                                                                                                                                                                                                                                  | <mark style="color:green;">undefined</mark><br>Returns a range of numbers from <a href="../properties/min">minimum</a> to the current <a href="../accessors/value">value</a> by the <a href="../accessors/get-step"><code>step</code></a> of a specified <a href=".."><code>Range</code></a> object.</p>                                    |
| <p><strong>public</strong> <a href="getcurrentstep"><strong>getCurrentStep()</strong></a>: <mark style="color:green;">number</mark>                                                                                                                                                                                                                                                                                                                                                                                         | <mark style="color:green;">undefined</mark><br>Returns the step of the range <a href="../accessors/value">value</a>.</p>                                                                                                                                                                                                                    |
| <p><a href="../../../general-concepts#undefined"><mark style="color:red;">⚠</mark></a> <strong>public</strong> <a href="getmax"><strong>getMax()</strong></a>: <mark style="color:green;">Max</mark><br>Gets the <strong>maximum</strong> range of a specified <a href=".."><code>Range</code></a> object.</p>                                                                                                                                                                                                              |                                                                                                                                                                                                                                                                                                                                             |
| <p><a href="../../../general-concepts#undefined"><mark style="color:red;">⚠</mark></a> <strong>public</strong> <a href="getmin"><strong>getMin()</strong></a>: <mark style="color:green;">Min</mark><br>Gets the <strong>minimum</strong> range of a specified <a href=".."><code>Range</code></a> object.</p>                                                                                                                                                                                                              |                                                                                                                                                                                                                                                                                                                                             |
| <p><strong>public</strong> <a href="getrange"><strong>getRange()</strong></a>: <mark style="color:green;">number</mark>\[]<br>Returns range of numbers from <a href="../properties/min">minimum</a> to the given <a href="../getrange#value-number-this.max"><code>value</code></a> with the <a href="../accessors/get-step"><code>step</code></a> of a specified <a href=".."><code>Range</code></a> object.</p>                                                                                                           |                                                                                                                                                                                                                                                                                                                                             |
| <p><strong>public</strong> <a href="getrangeofstep"><strong>getRangeOfStep()</strong></a>: <mark style="color:green;">Readonly</mark><<mark style="color:green;">Array</mark><<mark style="color:green;">number</mark>>>                                                                                                                                                                                                                                                                                                    | <mark style="color:green;">undefined</mark><br>Returns a range of numbers by the specified <a href="../accessors/get-step"><code>step</code></a> from the <a href="../properties/min">minimum</a> to the given <a href="../getrangeofstep#step-number"><code>step</code></a> of a specified <a href=".."><code>Range</code></a> object.</p> |
| <p><strong>public</strong> <a href="getvalueofstep"><strong>getValueOfStep()</strong></a>: <mark style="color:green;">number</mark>                                                                                                                                                                                                                                                                                                                                                                                         | <mark style="color:green;">undefined</mark><br>Returns the range value of the given <a href="../getvalueofstep#step-number"><code>step</code></a>.</p>                                                                                                                                                                                      |
| <p><strong>public</strong> <a href="has"><strong>has()</strong></a>: <mark style="color:green;">boolean</mark><br>Checks whether the <a href="../has#value-number"><code>value</code></a> is in the range of a specified <a href=".."><code>Range</code></a> object.</p>                                                                                                                                                                                                                                                    |                                                                                                                                                                                                                                                                                                                                             |
| <p><strong>public</strong> <a href="hasevery"><strong>hasEvery()</strong></a>: <mark style="color:green;">boolean</mark><br>Checks whether every value of the given <a href="../hasevery#...values-number"><code>values</code></a> is in the range of a specified <a href=".."><code>Range</code></a> object.</p>                                                                                                                                                                                                           |                                                                                                                                                                                                                                                                                                                                             |
| <p><strong>public</strong> <a href="hassome"><strong>hasSome()</strong></a>: <mark style="color:green;">boolean</mark><br>Checks whether some <a href="../hassome#...values-number"><code>values</code></a> are in the range of a specified <a href=".."><code>Range</code></a> object.</p>                                                                                                                                                                                                                                 |                                                                                                                                                                                                                                                                                                                                             |
| <p><strong>public</strong> <a href="isbetween"><strong>isBetween()</strong></a>: <mark style="color:green;">boolean</mark><br>Checks whether range of the given <a href="../isbetween#min-number"><code>min</code></a> and <a href="../isbetween#max-number"><code>max</code></a> is between the range of a specified <a href=".."><code>Range</code></a> object.</p>                                                                                                                                                       |                                                                                                                                                                                                                                                                                                                                             |
| <p><strong>public</strong> <a href="isbetweenevery"><strong>isBetweenEvery()</strong></a>: <mark style="color:green;">boolean</mark><br>Checks whether the range of a specified <a href=".."><code>Range</code></a> object is between every range of the given <a href="../isbetweenevery#...ranges-number-number"><code>ranges</code></a>.</p>                                                                                                                                                                             |                                                                                                                                                                                                                                                                                                                                             |
| <p><strong>public</strong> <a href="isbetweensome"><strong>isBetweenSome()</strong></a>: <mark style="color:green;">boolean</mark><br>Checks whether the range of a specified <a href=".."><code>Range</code></a> object is between <strong>some</strong> given <a href="../isbetweensome#...ranges-number-number"><code>ranges</code></a>.</p>                                                                                                                                                                             |                                                                                                                                                                                                                                                                                                                                             |
| <p><strong>public</strong> <a href="maxgreaterthan"><strong>maxGreaterThan()</strong></a>: <mark style="color:green;">boolean</mark><br>Checks whether the <a href="../maxgreaterthan#value-number"><code>value</code></a> is <strong>less</strong> than the <a href="../properties/max"><strong>maximum</strong></a> <strong>range</strong> of a specified <a href=".."><code>Range</code></a> object.</p>                                                                                                                 |                                                                                                                                                                                                                                                                                                                                             |
| <p><strong>public</strong> <a href="maxlessthan"><strong>maxLessThan()</strong></a>: <mark style="color:green;">boolean</mark><br>Checks whether the <a href="../maxlessthan#value-number"><code>value</code></a> is greater than the <a href="../properties/max"><strong>maximum</strong></a> <strong>range</strong> of a specified <a href=".."><code>Range</code></a> object.</p>                                                                                                                                        |                                                                                                                                                                                                                                                                                                                                             |
| <p><strong>public</strong> <a href="mingreaterthan"><strong>minGreaterThan()</strong></a>: <mark style="color:green;">boolean</mark><br>Checks whether the <a href="../mingreaterthan#value-number"><code>value</code></a> is <strong>less</strong> than a <a href="../properties/min"><strong>minimum</strong></a> <strong>range</strong> of a specified <a href=".."><code>Range</code></a> object.</p>                                                                                                                   |                                                                                                                                                                                                                                                                                                                                             |
| <p><strong>public</strong> <a href="minlessthan"><strong>minLessThan()</strong></a>: <mark style="color:green;">boolean</mark><br>Checks whether the <a href="../minlessthan#value-number"><code>value</code></a> is greater than the <a href="../properties/min"><strong>minimum</strong></a> <strong>range</strong> of a specified <a href=".."><code>Range</code></a> object.</p>                                                                                                                                        |                                                                                                                                                                                                                                                                                                                                             |
| <p><strong>public</strong> <a href="setvalue"><strong>setValue()</strong></a>: <mark style="color:green;">this</mark><br>Sets the range <a href="../accessors/value"><code>value</code></a> between the <a href="../properties/min">minimum</a> and <a href="../../properties/max#range.prototype.max">maximum</a> of a specified <a href=".."><code>Range</code></a> object.</p>                                                                                                                                           |                                                                                                                                                                                                                                                                                                                                             |
| <p><strong>public</strong> <a href="setvaluetostep"><strong>setValueToStep()</strong></a>: <mark style="color:green;">this</mark><br>Sets the <a href="../accessors/value"><code>value</code></a> of the specified <a href=".."><code>Range</code></a> object to the value of the given <a href="../setvaluetostep#step-number"><code>step</code></a>.</p>                                                                                                                                                                  |                                                                                                                                                                                                                                                                                                                                             |
| <p><strong>public</strong> <a href="stepbystep"><strong>stepByStep()</strong></a>: <mark style="color:green;">this</mark><br>Performs a callback function with the ability to decide when to move to the next step of the range.</p>                                                                                                                                                                                                                                                                                        |                                                                                                                                                                                                                                                                                                                                             |
| <p><a href="../../../general-concepts#undefined"><mark style="color:red;">⚠</mark></a> <strong>public</strong> <a href="toarray"><strong>toArray()</strong></a>: readonly \[<mark style="color:green;">Min</mark>, <mark style="color:green;">Max</mark>]<br>Returns a read-only array of the range in order minimum and maximum.</p>                                                                                                                                                                                       |                                                                                                                                                                                                                                                                                                                                             |
| <p><a href="../../../general-concepts#undefined"><mark style="color:red;">⚠</mark></a> <strong>public</strong> <a href="../valueof#range.prototype.valueof"><strong>valueOf()</strong></a>: <mark style="color:green;">Readonly</mark><{ min: <mark style="color:green;">Min</mark>; max: <mark style="color:green;">Max</mark> }><br>Returns a read-only object consisting of the primitive values of <a href="../../minimum"><code>Minimum</code></a> and <a href="../../maximum"><code>Maximum</code></a> instances.</p> |                                                                                                                                                                                                                                                                                                                                             |
