Checks if a variable is null.
Works the same as PHP’s native is_null()
function. If $var
is not set, an Undefined variable
notice will be thrown.
<?php
use function Qubus\Support\Helpers\is_null__;
is_null__(mixed $var): bool;
$var (mixed) (required) Variable to check.
(bool) Returns true
if null, false
otherwise.
Last Updated on August 14, 2024 by Joshua