Skip to content

Commit

Permalink
Adding isDebug
Browse files Browse the repository at this point in the history
  • Loading branch information
ryanwhitman committed Mar 27, 2023
1 parent 49238c1 commit f36f035
Showing 1 changed file with 7 additions and 0 deletions.
7 changes: 7 additions & 0 deletions src/helpers.php
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,13 @@
use App\Models\User;
use Illuminate\Support\Str;

if (! function_exists('isDebug')) {
function isDebug(): bool
{
return config('app.debug');
}
}

if (! function_exists('isLocal')) {
function isLocal(): bool
{
Expand Down

0 comments on commit f36f035

Please sign in to comment.