Skip to content

env::os

os()

Returns

(String) The name of the current operating system. Values: linux, macOS, windows, bsd, other