(input: object)
| 37 | } |
| 38 | |
| 39 | function isTemporal(input: object): input is TemporalLike { |
| 40 | const tag = (input as Record<symbol, unknown>)[Symbol.toStringTag] |
| 41 | return typeof tag === `string` && temporalTypes.has(tag) |
| 42 | } |
| 43 | |
| 44 | // Maximum byte length for Uint8Arrays to hash by content instead of reference |
| 45 | // Arrays smaller than this will be hashed by content, allowing proper equality comparisons |