(val: any)
| 6 | } |
| 7 | |
| 8 | function isPlainObject(val: any): val is PlainObject { |
| 9 | return ( |
| 10 | typeof val === 'object' && |
| 11 | val !== null && |
| 12 | Object.getPrototypeOf(val) === Object.prototype |
| 13 | ) |
| 14 | } |
| 15 | |
| 16 | function getJsonSize(data: any): number { |
| 17 | if (data === undefined) { |
no outgoing calls
no test coverage detected