Compare models using is() instead of directly comparing attributes
- ·
- Telegram
- ·
- Newsletter
🔥 Tip: Compare models using ->is() instead of doing direct attribute value comparisons
This is a simpler version of the tip below https://twitter.com/archtechx/status/1465334771349811219