(s)
| 31257 | ) |
| 31258 | } |
| 31259 | function stringify(s) { |
| 31260 | if ('string' == typeof s) return s |
| 31261 | if ((s && s.toJS && (s = s.toJS()), 'object' == typeof s && null !== s)) |
| 31262 | try { |
| 31263 | return JSON.stringify(s, null, 2) |
| 31264 | } catch (o) { |
| 31265 | return String(s) |
| 31266 | } |
| 31267 | return null == s ? '' : s.toString() |
| 31268 | } |
| 31269 | function paramToIdentifier(s, { returnAll: o = !1, allowHashes: i = !0 } = {}) { |
| 31270 | if (!We().Map.isMap(s)) |
| 31271 | throw new Error('paramToIdentifier: received a non-Im.Map parameter as input') |
no test coverage detected