function isEmpty($value, \CharlotteDunois\Livia\Commands\Context $context, ?\CharlotteDunois\Livia\Arguments\Argument $arg = null) {
        if(\is_array($value) || \is_object($value)) {
            return (empty($value));
        }
        
        return (\mb_strlen(\trim(((string) $value))) === 0);
    }
function isEmpty($value, \CharlotteDunois\Livia\Commands\Context $context, ?\CharlotteDunois\Livia\Arguments\Argument $arg = null) {
        if(\is_array($value) || \is_object($value)) {
            return (empty($value));
        }
        
        return (\mb_strlen(\trim(((string) $value))) === 0);
    }
function isEmpty ( $ value , \ CharlotteDunois \ Livia \ Commands \ Context $ context , ? \ CharlotteDunois \ Livia \ Arguments \ Argument $ arg = null ) { if ( \ is_array ( $ value ) || \ is_object ( $ value ) ) { return ( empty ( $ value ) ) ; } return ( \ mb_strlen ( \ trim ( ( ( string ) $ value ) ) ) === 0 ) ; }
Checks whether a value is considered to be empty. This determines whether the default value for an argument should be used and changes the response to the user under certain circumstances.
@param mixed                                           $value    Value to check.
@param \CharlotteDunois\Livia\Commands\Context         $context  Message the value was obtained from.
@param \CharlotteDunois\Livia\Arguments\Argument|null  $arg      Argument the value obtained from.
@return bool
Checks whether a value is considered to be empty . This determines whether the default value for an argument should be used and changes the response to the user under certain circumstances .