MCPcopy Index your code
hub / github.com/dataease/SQLBot / stringify

Function stringify

frontend/public/swagger-ui-bundle.js:31259–31268  ·  view source on GitHub ↗
(s)

Source from the content-addressed store, hash-verified

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')

Callers 15

renderMethod · 0.85
renderMethod · 0.85
renderMethod · 0.85
example_ExampleFunction · 0.85
stringifyUnlessListFunction · 0.85
renderMethod · 0.85
ParameterRowClass · 0.85
propertyFunction · 0.85
components_request_bodyFunction · 0.85
constructorMethod · 0.85

Calls 1

toStringMethod · 0.45

Tested by

no test coverage detected