(input: TemporalLike)
| 128 | } |
| 129 | |
| 130 | function hashTemporal(input: TemporalLike): number { |
| 131 | const hasher = new MurmurHashStream() |
| 132 | hasher.update(TEMPORAL_MARKER) |
| 133 | hasher.update(input[Symbol.toStringTag]) |
| 134 | hasher.update(input.toString()) |
| 135 | return hasher.digest() |
| 136 | } |
| 137 | |
| 138 | function hashPlainObject(input: object, marker: number): number { |
| 139 | const hasher = new MurmurHashStream() |
no test coverage detected