docs/api/interfaces/objectSorter.TrimOptions.md
[# Node object hash](../README.md) / [objectSorter](../modules/objectSorter.md) / TrimOptions
# Interface: TrimOptions
[objectSorter](../modules/objectSorter.md).TrimOptions
Advanced trim options
## Table of contents
### Properties
- [function](objectSorter.TrimOptions.md#function)
- [string](objectSorter.TrimOptions.md#string)
## Properties
### function
• `Optional` **function**: `boolean`
If `true` replaces multiple space with one and trims whitespaces in function body
#### Defined in
[objectSorter.ts:158](https://github.com/SkeLLLa/node-object-hash/blob/22b763e/src/objectSorter.ts#L158)
---
### string
• `Optional` **string**: `boolean`
If `true` replaces multiple space with one and trims whitespaces in strings
#### Defined in
[objectSorter.ts:154](https://github.com/SkeLLLa/node-object-hash/blob/22b763e/src/objectSorter.ts#L154)