Skip to Content

Deprecated

is_os()

Compare the user’s operating system.

PHP April 1, 2021

Deprecated

Usage

PHP
nebula()->is_os($os, $version, $comparison)

Parameters

$os
(Required) (String) The operating system
Default: None

$version
(Optional) (Integer) The OS version number
Default: None

$comparison
(Optional) (String) The comparison
Default: "=="

Parameter Notes

Not passing a version number will compare the name only.

See compare_operator() for valid parameters.

Request or provide clarification »