HEX
Server: Microsoft-IIS/8.5
System: Windows NT YDAWBH120 6.3 build 9600 (Windows Server 2012 R2 Standard Edition) AMD64
User: tentjecom_web (0)
PHP: 7.4.14
Disabled: NONE
Upload Files
File: D:/HostingSpaces/SBogers10/somerenslust.komma.pro/node_modules/trim-right-x/README.md
<a href="https://travis-ci.org/Xotic750/trim-right-x"
   title="Travis status">
<img
   src="https://travis-ci.org/Xotic750/trim-right-x.svg?branch=master"
   alt="Travis status" height="18"/>
</a>
<a href="https://david-dm.org/Xotic750/trim-right-x"
   title="Dependency status">
<img src="https://david-dm.org/Xotic750/trim-right-x.svg"
   alt="Dependency status" height="18"/>
</a>
<a href="https://david-dm.org/Xotic750/trim-right-x#info=devDependencies"
   title="devDependency status">
<img src="https://david-dm.org/Xotic750/trim-right-x/dev-status.svg"
   alt="devDependency status" height="18"/>
</a>
<a href="https://badge.fury.io/js/trim-right-x" title="npm version">
<img src="https://badge.fury.io/js/trim-right-x.svg"
   alt="npm version" height="18"/>
</a>
<a name="module_trim-right-x"></a>

## trim-right-x
This method removes whitespace from the right end of a string.

**Version**: 3.0.0  
**Author**: Xotic750 <Xotic750@gmail.com>  
**License**: [MIT](&lt;https://opensource.org/licenses/MIT&gt;)  
**Copyright**: Xotic750  

* [trim-right-x](#module_trim-right-x)
    * [`.trimRight`](#module_trim-right-x.trimRight)
    * [`.trimRight2016`](#module_trim-right-x.trimRight2016) ⇒ <code>string</code>
    * [`.trimRight2018`](#module_trim-right-x.trimRight2018) ⇒ <code>string</code>

<a name="module_trim-right-x.trimRight"></a>

### `trim-right-x.trimRight`
A reference to trimRight2018.

**Kind**: static property of [<code>trim-right-x</code>](#module_trim-right-x)  
<a name="module_trim-right-x.trimRight2016"></a>

### `trim-right-x.trimRight2016` ⇒ <code>string</code>
This method removes whitespace from the right end of a string. (ES2016)

**Kind**: static property of [<code>trim-right-x</code>](#module_trim-right-x)  
**Returns**: <code>string</code> - The right trimmed string.  
**Throws**:

- <code>TypeError</code> If string is null or undefined or not coercible.


| Param | Type | Description |
| --- | --- | --- |
| string | <code>string</code> | The string to trim the right end whitespace from. |

**Example**  
```js
var trimRight = require('trim-right-x');

trimRight(' \t\na \t\n') === ' \t\na'; // true
```
<a name="module_trim-right-x.trimRight2018"></a>

### `trim-right-x.trimRight2018` ⇒ <code>string</code>
This method removes whitespace from the right end of a string. (ES2018)

**Kind**: static property of [<code>trim-right-x</code>](#module_trim-right-x)  
**Returns**: <code>string</code> - The right trimmed string.  
**Throws**:

- <code>TypeError</code> If string is null or undefined or not coercible.


| Param | Type | Description |
| --- | --- | --- |
| string | <code>string</code> | The string to trim the right end whitespace from. |

**Example**  
```js
var trimRight = require('trim-right-x');

trimRight(' \t\na \t\n') === ' \t\na'; // true
```