/home/bdqbpbxa/api-uniferx.goodface.com.ua/vendor/laravel/nova/src/Support/UndefinedValue.php
<?php

namespace Laravel\Nova\Support;

/**
 * @internal
 */
class UndefinedValue implements \JsonSerializable
{
    /**
     * Determine if value is equivalent to "undefined" or "null".
     *
     * @param  mixed  $value
     * @return bool
     */
    public static function equalsTo($value)
    {
        return $value instanceof UndefinedValue || is_null($value);
    }

    /**
     * Get the value as json.
     *
     * @return null
     */
    #[\ReturnTypeWillChange]
    public function jsonSerialize()
    {
        return null;
    }
}