Raxol.Core.Platform (Raxol v2.0.1)

View Source

Platform detection utilities for cross-platform compatibility.

Summary

Functions

Checks if the current platform is Linux.

Checks if the current platform is macOS.

Returns the OS type as an atom.

Checks if the current platform is Windows.

Functions

linux?()

Checks if the current platform is Linux.

macos?()

Checks if the current platform is macOS.

os_type()

Returns the OS type as an atom.

windows?()

Checks if the current platform is Windows.