(item: unknown)
| 23 | import type {InlineSnapshot} from './types'; |
| 24 | |
| 25 | function isObject(item: unknown): boolean { |
| 26 | return item != null && typeof item === 'object' && !Array.isArray(item); |
| 27 | } |
| 28 | |
| 29 | // Add extra line breaks at beginning and end of multiline snapshot |
| 30 | // to make the content easier to read. |
no outgoing calls
no test coverage detected