SkeLLLa/node-object-hash

View on GitHub
docs/api/interfaces/hasher.Hashable.md

Summary

Maintainability
Test Coverage
[# Node object hash](../README.md) / [hasher](../modules/hasher.md) / Hashable

# Interface: Hashable

[hasher](../modules/hasher.md).Hashable

If object implements Hashable interface then value from toHash
will be used for hash function. It means that the different objects
with the function toHash that return the same value will have the same hash

## Table of contents

### Properties

- [toHashableString](hasher.Hashable.md#tohashablestring)

## Properties

### toHashableString

• **toHashableString**: () => `string`

#### Type declaration

▸ (): `string`

##### Returns

`string`

#### Defined in

[hasher.ts:38](https://github.com/SkeLLLa/node-object-hash/blob/22b763e/src/hasher.ts#L38)