(obj: ?Object)
| 60 | } |
| 61 | |
| 62 | function hash(obj: ?Object): number { |
| 63 | if (!obj) { |
| 64 | return -1; |
| 65 | } |
| 66 | return stringHash(stableStringify(obj)); |
| 67 | } |
| 68 | |
| 69 | // This function doesn't look at the order of the hashes inside of the array |
| 70 | // e.g `combineUnorderedHashes([1,2,3]) === combineUnorderedHashes([3,1,2])` |
no outgoing calls
no test coverage detected