Code
Hub
Workspaces
Connect
Indexed graphs
Engine
MCP
copy
Index your code
hub
/
github.com/callstack/agent-device
/ stripUndefined
Function
stripUndefined
src/contracts/screenshot.ts:172–174 ·
view source on GitHub ↗
(value: T)
Source
from the content-addressed store, hash-verified
170
}
171
172
function
stripUndefined<T extends Record<string, unknown>>(value: T): T {
173
return
Object.fromEntries(Object.entries(value).filter((entry) => entry[1] !== undefined)) as T;
174
}
Callers
13
buildFlags
Function · 0.90
buildMeta
Function · 0.90
leaseScopeFromRequest
Function · 0.90
leaseScopeFromOptions
Function · 0.90
leaseScopeToRequestMeta
Function · 0.90
leaseScopeToCommandFlags
Function · 0.90
leaseScopeToAllocateRequest
Function · 0.90
leaseScopeToLeaseRpcParams
Function · 0.90
leaseScopeToConnectionMetadata
Function · 0.90
buildLeaseDiagnosticsContext
Function · 0.90
leaseScopeToScopedRequest
Function · 0.90
screenshotOptionsFromFlags
Function · 0.70
Calls
no outgoing calls
Tested by
no test coverage detected