(record: ReadonlyRecord<string, ReadonlyArray<unknown>>)
| 259 | } |
| 260 | |
| 261 | const recordHashes = (record: ReadonlyRecord<string, ReadonlyArray<unknown>>): ReadonlyArray<string> => { |
| 262 | const hashes: Array<string> = [] |
| 263 | for (const key in record) { |
| 264 | hashes.push(key) |
| 265 | for (const idHash of idHashes(key, record[key])) { |
| 266 | hashes.push(idHash) |
| 267 | } |
| 268 | } |
| 269 | return hashes |
| 270 | } |
no test coverage detected