* @param {EXPECTED_ANY} value value * @returns {string} stringified value
(value)
| 57 | * @returns {string} stringified value |
| 58 | */ |
| 59 | function stringifyValue(value) { |
| 60 | if ( |
| 61 | Array.isArray(value) || |
| 62 | (value && typeof value === "object" && value.constructor === Object) |
| 63 | ) { |
| 64 | return JSON.stringify(value); |
| 65 | } |
| 66 | |
| 67 | return value; |
| 68 | } |
| 69 | |
| 70 | /** |
| 71 | * @param {string} key key |
no outgoing calls
no test coverage detected
searching dependent graphs…