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