1
0
Fork 0
mirror of https://github.com/archtechx/laravel-tips.git synced 2025-12-12 13:24:03 +00:00
laravel-tips/content/tips/you-can-use-ternary-operators-like-to-use-dump-or-dd-in-your-short-closures.md
2021-11-05 17:12:37 +01:00

11 lines
No EOL
459 B
Markdown

---
title: 'You can use ternary operators like ?: to use dump() or dd() in your short closures'
tweet_id: '1456649618205261824'
thread_slug: weekly-thread-2021-44
author_username: jessarchercodes
images:
- 'https://pbs.twimg.com/media/FDOw-QKUUAEbXLw.jpg'
created_at: 2021-11-05T15:48:26+00:00
slug: you-can-use-ternary-operators-like-to-use-dump-or-dd-in-your-short-closures
---
Do you hate re-writing short closures just to add temporary debugging code?