menu
Platform
import { Platform } from "destack:module";
The target platform (OS) the code is being compiled for.
1export type Platform = "unknown" | "windows" | "macos" | "linux" | "freebsd" | "openbsd" | "netbsd" | "dragonfly" | "solaris" | "illumos" | "haiku" | "fuchsia" | "redox" | "hermit" | "none"