Skip to content

getDesktopOperatingSystem

Gets the operating system’s name and release, such as Windows 11 Pro 10.0.26100.

Import:

import { getDesktopOperatingSystem } from '@mnaoumov/obsidian-lib/desktop-operating-system';

Signature:

function getDesktopOperatingSystem(): string

Returns: string — The operating system’s name and release.