MCPcopy Create free account
hub / github.com/heygen-com/hyperframes / stripUndefined

Function stripUndefined

packages/cli/src/commands/cloudrun.ts:265–267  ·  view source on GitHub ↗
(o: T)

Source from the content-addressed store, hash-verified

263 return merged as StackState;
264}
265function stripUndefined<T extends Record<string, unknown>>(o: T): Partial<T> {
266 return Object.fromEntries(Object.entries(o).filter(([, v]) => v != null)) as Partial<T>;
267}
268
269/** Resolve the Terraform module dir shipped with @hyperframes/gcp-cloud-run. */
270function terraformDir(): string {

Callers 2

readStateFunction · 0.70
buildRenderConfigFunction · 0.70

Calls 1

entriesMethod · 0.80

Tested by

no test coverage detected