smartEnergyView-backend/app/Helpers/CustomHelpers.php
2022-06-17 09:55:21 -03:00

9 lines
162 B
PHP

<?php
if (!function_exists('checkUserId')) {
function checkUserId($client_id): bool
{
return \auth()->hasUser() && !is_null($client_id);
}
}