MCPcopy Create free account
hub / github.com/callstack/agent-device / normalizeNonEmpty

Function normalizeNonEmpty

src/utils/device-isolation.ts:1–4  ·  view source on GitHub ↗
(value: string | undefined)

Source from the content-addressed store, hash-verified

1function normalizeNonEmpty(value: string | undefined): string | undefined {
2 const trimmed = value?.trim();
3 return trimmed ? trimmed : undefined;
4}
5
6export function resolveIosSimulatorDeviceSetPath(
7 flagValue: string | undefined,

Callers 2

Calls

no outgoing calls

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…