MCPcopy Create free account
hub / github.com/GNOME/gjs / formatFunction

Function formatFunction

modules/script/_bootstrap/default.js:142–145  ·  view source on GitHub ↗
(func)

Source from the content-addressed store, hash-verified

140 }
141
142 function formatFunction(func) {
143 let funcOutput = `[ Function: ${func.name} ]`;
144 return funcOutput;
145 }
146
147 function formatSymbol(sym) {
148 // Try to format Symbols in the same way that they would be constructed.

Callers 2

prettyPrintFunction · 0.85
formatObjectFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected