> For the complete documentation index, see [llms.txt](https://docs.angular-package.dev/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.angular-package.dev/range-1/inequality/overview.md).

# Overview

The \`Inequality\` primitive wrapper object

## `Inequality {}`

The `Inequality` abstract [primitive wrapper object](https://developer.mozilla.org/en-US/docs/Glossary/Primitive#primitive_wrapper_objects_in_javascript) represents the [primitive value](/range-1/less/methods/valueof.md) **greater** or **less** than the given.

{% embed url="<https://github.com/angular-package/range/blob/main/src/lib/inequality.class.ts>" %}
`inequality.class.ts`
{% endembed %}

### Accessors

|                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            |
| -------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
| <p><strong>public get</strong> <a href="/pages/feAmMVfYZcgkANTx4K0U#inequality.prototype.greater"><strong>greater()</strong></a>: <mark style="color:green;">Greater</mark><<mark style="color:green;">Value</mark>><br>The <a href="https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Functions/get"><code>get</code></a> accessor obtains from the private <a href="/range-1/inequality/properties/greater.md"><code>#greater</code></a> property an instance of the <a href="/range-1/greater/overview.md"><code>Greater</code></a> with a <a href="/range-1/greater/methods/valueof.md">primitive value</a> from a given <a href="/range-1/inequality/constructor.md#value-value"><code>value</code></a> of the <a href="/range-1/inequality/overview.md"><code>Inequality</code></a> constructor.</p> |
| <p><strong>public get</strong> <a href="/pages/4RYs0q3Kz8AX3pu0Ivdr#inequality.prototype.less"><strong>less()</strong></a>: <mark style="color:green;">Less</mark><<mark style="color:green;">Value</mark>><br>The <a href="https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Functions/get"><code>get</code></a> accessor obtains from the private <a href="/range-1/inequality/properties/less.md"><code>#less</code></a> property an instance of the <a href="/range-1/less/overview.md"><code>Less</code></a> with a <a href="/range-1/less/methods/valueof.md">primitive value</a> from a given <a href="/range-1/inequality/constructor.md#value-value"><code>value</code></a> of the <a href="/range-1/inequality/overview.md"><code>Inequality</code></a> constructor.</p>                         |

### Properties

|                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                        |
| ---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
| <p><a href="/range-1/inequality/properties/greater.md"><strong>#greater</strong></a>: <mark style="color:green;">Greater</mark><<mark style="color:green;">Value</mark>><br>Private property of the <a href="/range-1/greater/overview.md"><code>Greater</code></a> primitive wrapper <a href="https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Object"><code>object</code></a> indicates the value of the <a href="https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Number"><code>number</code></a> type <strong>greater</strong> than the given.</p> |
| <p><a href="/range-1/inequality/properties/less.md"><strong>#less</strong></a>: <mark style="color:green;">Less</mark><<mark style="color:green;">Value</mark>><br>Private property of the <a href="/range-1/less/overview.md"><code>Less</code></a> primitive wrapper <a href="https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Object"><code>object</code></a> indicates the value of <a href="https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Number"><code>number</code></a> type <strong>less</strong> than the given.</p>                       |

### Methods

|                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          |
| ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ |
| <p><strong>public</strong> <a href="/range-1/inequality/methods/greaterthan.md"><strong>greaterThan()</strong></a>: <mark style="color:green;">boolean</mark><br>Checks whether the <a href="https://developer.mozilla.org/en-US/docs/Glossary/Primitive#primitive_wrapper_objects_in_javascript">primitive value</a> of a child class instance is <strong>greater</strong> than the given <a href="/range-1/inequality/methods/greaterthan.md#value-number"><code>value</code></a>.</p>                                 |
| <p><strong>public</strong> <a href="/range-1/inequality/methods/greaterthanevery.md"><strong>greaterThanEvery()</strong></a>: <mark style="color:green;">boolean</mark><br>Checks whether the <a href="https://developer.mozilla.org/en-US/docs/Glossary/Primitive#primitive_wrapper_objects_in_javascript">primitive value</a> of a child class instance is <strong>greater</strong> than <strong>every</strong> value of the given <a href="/pages/QFXTXHPNCPXbs3aLV955#...values-number"><code>values</code></a>.</p> |
| <p><strong>public</strong> <a href="/range-1/inequality/methods/greaterthansome.md"><strong>greaterThanSome()</strong></a>: <mark style="color:green;">boolean</mark><br>Checks whether the <a href="https://developer.mozilla.org/en-US/docs/Glossary/Primitive#primitive_wrapper_objects_in_javascript">primitive value</a> of a child class instance is <strong>greater</strong> than <strong>some</strong> given <a href="/pages/kyK3Az0siLQT2Hnbpr8U#...values-number"><code>values</code></a>.</p>                 |
| <p><strong>public</strong> <a href="/range-1/inequality/methods/lessthan.md"><strong>lessThan()</strong></a>: <mark style="color:green;">boolean</mark><br>Checks whether the <a href="https://developer.mozilla.org/en-US/docs/Glossary/Primitive#primitive_wrapper_objects_in_javascript">primitive value</a> of a child class instance is <strong>less</strong> than the given <a href="/range-1/inequality/methods/lessthan.md#value-number"><code>value</code></a>.</p>                                             |
| <p><strong>public</strong> <a href="/range-1/inequality/methods/lessthanevery.md"><strong>lessThanEvery()</strong></a>: <mark style="color:green;">boolean</mark><br>Checks whether the <a href="https://developer.mozilla.org/en-US/docs/Glossary/Primitive#primitive_wrapper_objects_in_javascript">primitive value</a> of a child class instance is <strong>less</strong> than <strong>every</strong> value of the given <a href="/pages/EsFliOOJPrEMow3w4PTi#...values-number"><code>values</code></a>.</p>          |
| <p><strong>public</strong> <a href="/range-1/inequality/methods/lessthansome.md"><strong>lessThanSome()</strong></a>: <mark style="color:green;">boolean</mark><br>Checks whether the <a href="https://developer.mozilla.org/en-US/docs/Glossary/Primitive#primitive_wrapper_objects_in_javascript">primitive value</a> of a child class instance is <strong>less</strong> than <strong>some</strong> given <a href="/pages/ugE52SDW9tyPAz5WOL9U#...values-number"><code>values</code></a>.</p>                          |
