.Platform$OS.type is only ever "unix" or "windows", so this is the exact
complement of isWindows(). Provided as a helper so tests can override it
with testthat::local_mocked_bindings(), which is impossible when the check
is written inline against .Platform.