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

Function getKnownSyntaxHighlighterLanguage

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

Source from the content-addressed store, hash-verified

60930 : null
60931 }
60932 }
60933 function getKnownSyntaxHighlighterLanguage(s) {
60934 const o = (function canJsonParse(s) {
60935 try {
60936 return !!JSON.parse(s)
60937 } catch (s) {
60938 return null
60939 }
60940 })(s)
60941 return o ? 'json' : null
60942 }
60943 class response_Response extends Re.Component {
60944 constructor(s, o) {

Callers 4

renderMethod · 0.85
renderMethod · 0.85
renderMethod · 0.85
components_request_bodyFunction · 0.85

Calls 1

parseMethod · 0.45

Tested by

no test coverage detected