MCPcopy Index your code
hub / github.com/hoothin/UserScripts / getFormatJSON

Function getFormatJSON

Pagetual/pagetual.user.js:10717–10720  ·  view source on GitHub ↗
(obj)

Source from the content-addressed store, hash-verified

10715 }
10716
10717 function getFormatJSON(obj){
10718 if(!objIsArr(obj) || obj.length === 0)return "";
10719 return JSON.stringify(obj, null, 4);
10720 }
10721
10722 function globMatch(first, second) {
10723 if (first === '*') {

Callers 1

initConfigFunction · 0.85

Calls 1

objIsArrFunction · 0.85

Tested by

no test coverage detected