View Source UAParser.OperatingSystem (ua_parser v1.9.2)
A module representing an operating System struct.
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"