implemented optional chaning
Optional chaining allows to safely access nested properties or methods of an object without having to check for the existence of each intermediate property manually. It provides a concise and safe way to access nested properties or methods without having to write complex and error-prone null/undefined checks.
Changes proposed in this pull request:
- ... changed !tags || !tags.length to just !tags?.length
** Resolves #776**
Quality Gate passed
Kudos, no new issues were introduced!
0 New issues
0 Security Hotspots
No data about Coverage
0.0% Duplication on New Code
Quality Gate passed
Issues
0 New issues
0 Accepted issues
Measures
0 Security Hotspots
No data about Coverage
0.3% Duplication on New Code
/rtm
:tada: This PR is included in version 1.4.8 :tada:
The release is available on:
Your semantic-release bot :package::rocket: