UAParser.OperatingSystem (ua_parser v1.9.1) View Source
A module representing an operating System struct.
Link to this section Summary
Functions
Examples
iex> version = %UAParser.Version{major: "1", minor: "2"}
iex> os = %UAParser.OperatingSystem{family: "macOS", version: version}
iex> to_string(os)
"macOS 1.2"
iex> os = %UAParser.OperatingSystem{family: "macOS"}
iex> to_string(os)
"macOS"