* @param {EXPECTED_ANY} value value * @returns {string} stringified value
(value)
| 48 | * @returns {string} stringified value |
| 49 | */ |
| 50 | function stringifyValue(value) { |
| 51 | if ( |
| 52 | Array.isArray(value) || |
| 53 | (value && typeof value === "object" && value.constructor === Object) |
| 54 | ) { |
| 55 | return JSON.stringify(value); |
| 56 | } |
| 57 | |
| 58 | return value; |
| 59 | } |
| 60 | |
| 61 | /** |
| 62 | * @param {string} key key |
no outgoing calls
no test coverage detected
searching dependent graphs…