MCPcopy Index your code
hub / github.com/callstack/agent-device / isEmulatorSerial

Function isEmulatorSerial

src/platforms/android/devices.ts:59–61  ·  view source on GitHub ↗
(serial: string)

Source from the content-addressed store, hash-verified

57}
58
59function isEmulatorSerial(serial: string): boolean {
60 return serial.startsWith(EMULATOR_SERIAL_PREFIX);
61}
62
63function normalizeAndroidName(value: string): string {
64 return value.toLowerCase().replace(/_/g, ' ').replace(/\s+/g, ' ').trim();

Callers 4

resolveAndroidDeviceNameFunction · 0.85
listAndroidDevicesFunction · 0.85

Calls 1

startsWithMethod · 0.80

Tested by

no test coverage detected