UAInspector v0.15.1 UAInspector.Util.OS View Source
Utility methods for operating system lookups.
Link to this section Summary
Functions
Checks whether an operating system is treated as “desktop only”
Returns the OS family for an OS short code
Returns the proper case version of a downcase os name
Link to this section Functions
Link to this function
desktop_only?(arg1)
View Source
desktop_only?(os :: map() | :unknown) :: boolean()
Checks whether an operating system is treated as “desktop only”.
Returns the OS family for an OS short code.
Unknown short codes return nil
as their family.