# engine/dev-utils/utils

module

<a id="functions">

## Functions

<a id="function-convertMapToStringifiedObject">

### `convertMapToStringifiedObject( map ) → string` _(internal)_

Helper function, converts a map to the `{"key1":"value1","key2":"value2"}` format.

[See source](https://github.com/ckeditor/ckeditor5/blob/master/packages/ckeditor5-engine/src/dev-utils/utils.ts#L40)

#### Parameters

* `map: Iterable<[ string, unknown ]>`

  Map to convert.

#### Returns

* `string`

  Converted map.

<a id="function-convertMapToTags">

### `convertMapToTags( map ) → string` _(internal)_

Helper function, converts a map to the 'key1="value1" key2="value1"' format.

[See source](https://github.com/ckeditor/ckeditor5/blob/master/packages/ckeditor5-engine/src/dev-utils/utils.ts#L23)

#### Parameters

* `map: Iterable<[ string, unknown ]>`

  Map to convert.

#### Returns

* `string`

  Converted map.

<a id="function-dumpTrees">

### `dumpTrees( document, version ) → void` _(internal)_

Helper function that stores the `document` state for a given `version`.

[See source](https://github.com/ckeditor/ckeditor5/blob/master/packages/ckeditor5-engine/src/dev-utils/utils.ts#L58)

#### Parameters

* `document: any`
* `version: any`

#### Returns

* `void`

<a id="function-initDocumentDumping">

### `initDocumentDumping( document ) → void` _(internal)_

Helper function that initializes document dumping.

[See source](https://github.com/ckeditor/ckeditor5/blob/master/packages/ckeditor5-engine/src/dev-utils/utils.ts#L81)

#### Parameters

* `document: any`

#### Returns

* `void`

<a id="function-logDocument">

### `logDocument( document, version ) → void` _(internal)_

Helper function that logs document for the given version.

[See source](https://github.com/ckeditor/ckeditor5/blob/master/packages/ckeditor5-engine/src/dev-utils/utils.ts#L90)

#### Parameters

* `document: any`
* `version: any`

#### Returns

* `void`

---

Full index of the CKEditor 5 API reference: [llms.txt](llms.txt)
