9 lines
282 B
TypeScript
9 lines
282 B
TypeScript
export function resolveAgentAwarenessPlatformPresentation(platform: string): {
|
|
readonly supported: boolean;
|
|
readonly subtitle: string | undefined;
|
|
} {
|
|
return platform === "ios"
|
|
? { supported: true, subtitle: undefined }
|
|
: { supported: false, subtitle: "iOS only" };
|
|
}
|