Test whether the current operating system is of a given type. Each defined attribute is tested and the result is true only if all the tests succeed.
Attribute | Description | Required |
family | The name of the operating system family to expect. | No |
name | The name of the operating system to expect. | No |
arch | The architecture of the operating system to expect. | No |
version | The version of the operating system to expect. | No |
Supported values for the family attribute are: