xref: /plugin/combo/ComboStrap/Os.php (revision 977ce05d19d8dab0a70c9a27f8da0b7039299e82)
1<?php
2
3
4namespace ComboStrap;
5
6
7class Os
8{
9
10    /**
11     * From 7.2
12     * https://www.php.net/manual/en/reserved.constants.php#constant.php-os-family
13     * @return bool
14     */
15    public static function isWindows(): bool
16    {
17        return (PHP_OS_FAMILY === "Windows");
18    }
19
20}
21