Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/microsoft/SandDance
/ visit
Function
visit
packages/powerbi/src/cleanInsight.ts:12–21 ·
view source on GitHub ↗
(o: object)
Source
from the content-addressed store, hash-verified
10
}
11
12
function
visit(o: object) {
13
const
props = Object.keys(o);
14
props.forEach(prop => {
15
if
(o[prop] === null) {
16
delete o[prop];
17
}
else
if
(typeof o[prop] ===
'object'
) {
18
visit(o[prop]);
19
}
20
});
21
}
Callers
1
cleanInsight
Function · 0.70
Calls
1
forEach
Method · 0.45
Tested by
no test coverage detected