(_document?: Document)
| 1 | export function safelyAccessDocument(_document?: Document): Document | null { |
| 2 | return _document || (typeof document !== 'undefined' ? document : null) |
| 3 | } |
| 4 | |
| 5 | export function safelyAccessDocumentEvent(event: Event): Document | null { |
| 6 | return !!event && |
no outgoing calls
no test coverage detected