(str)
| 219 | * @returns {string} string |
| 220 | */ |
| 221 | const toSimpleString = (str) => { |
| 222 | // eslint-disable-next-line no-implicit-coercion |
| 223 | if (`${+str}` === str) { |
| 224 | return str; |
| 225 | } |
| 226 | return JSON.stringify(str); |
| 227 | }; |
| 228 | |
| 229 | /** |
| 230 | * @param {string} str string |
no outgoing calls
no test coverage detected
searching dependent graphs…