MCPcopy Create free account
hub / github.com/bywwcnll/StreamPanel / formatDisplayFieldValue

Function formatDisplayFieldValue

devtools/panel.bundle.js:950–956  ·  view source on GitHub ↗
(value)

Source from the content-addressed store, hash-verified

948 }
949
950 function formatDisplayFieldValue(value) {
951 if (value === null) return 'null';
952 if (value === undefined) return '';
953 if (typeof value === 'string') return value;
954 if (typeof value === 'number' || typeof value === 'boolean') return String(value);
955 return JSON.stringify(value);
956 }
957
958 function setupJsonDetailEventDelegation() {
959 elements$6.detailJson.addEventListener('click', (e) => {

Callers 1

getMessageDisplayDataFunction · 0.70

Calls

no outgoing calls

Tested by

no test coverage detected