(value: unknown, key: Key)
| 29 | } |
| 30 | |
| 31 | export function hasProperty<Key extends PropertyKey>(value: unknown, key: Key): value is Record<Key, unknown> { |
| 32 | return isObject(value) && key in value; |
| 33 | } |
| 34 | |
| 35 | export function generateRecordId(): string { |
| 36 | const cr = typeof globalThis === "object" ? globalThis.crypto : null; |
no test coverage detected