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

Function readAppleOs

src/client/client-normalizers.ts:144–147  ·  view source on GitHub ↗
(record: Record<string, unknown>)

Source from the content-addressed store, hash-verified

142}
143
144function readAppleOs(record: Record<string, unknown>): AppleOS | undefined {
145 const value = record.appleOs;
146 return isAppleOs(value) ? value : undefined;
147}
148
149function readClientDeviceIdentity(value: unknown, nameField: string) {
150 const record = asRecord(value);

Callers 2

normalizeDeviceFunction · 0.85
normalizeSessionFunction · 0.85

Calls 1

isAppleOsFunction · 0.90

Tested by

no test coverage detected