@launchmenu/core
Version:
An environment for visual keyboard controlled applets
16 lines • 576 B
TypeScript
import { IPlatform } from "./_types/IPlatform";
/**
* Checks whether we are currently running on one of the specified platforms
* @param platforms The platforms to check for
* @returns true if platform is included in platforms, false otherwise
*/
export declare function isPlatform(...platforms: IPlatform[]): boolean;
/**
* A mapping from LM platform names to node platform names
*/
export declare const nodePlatformMap: {
readonly mac: "darwin";
readonly windows: "win32";
readonly linux: "linux";
};
//# sourceMappingURL=isPlatform.d.ts.map