MCPcopy Index your code
hub / github.com/wavetermdev/waveterm / isMacOSTahoeOrLater

Function isMacOSTahoeOrLater

frontend/util/platformutil.ts:18–24  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

16}
17
18export function isMacOSTahoeOrLater(): boolean {
19 if (!isMacOS() || MacOSVersion == null) {
20 return false;
21 }
22 const major = parseInt(MacOSVersion.split(".")[0], 10);
23 return major >= 16;
24}
25
26export function isMacOS(): boolean {
27 return PLATFORM == PlatformMacOS;

Callers 1

tabbar.tsxFile · 0.90

Calls 1

isMacOSFunction · 0.70

Tested by

no test coverage detected