You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Currently only Project has a findProperty method with which you can use elvis-operator syntax like project.findPropery('foo') ?: 'default'
instead of the cumbersome project.hasPropery('foo') && foo ? foo : 'default'
It would be nice if all places that have hasProperty would also support findProperty.
The text was updated successfully, but these errors were encountered:
This issue has been automatically marked as stale because it has not had recent activity. Given the limited bandwidth of the team, it will be automatically closed if no further activity occurs. If you're interested in how we try to keep the backlog in a healthy state, please read our blog post on how we refine our backlog. If you feel this is something you could contribute, please have a look at our Contributor Guide. Thank you for your contribution.
Currently only
Project
has afindProperty
method with which you can use elvis-operator syntax likeproject.findPropery('foo') ?: 'default'
instead of the cumbersome
project.hasPropery('foo') && foo ? foo : 'default'
It would be nice if all places that have
hasProperty
would also supportfindProperty
.The text was updated successfully, but these errors were encountered: