hirosystems / hirosystems/recipes
Do not use `?` at the end of boolean function
Open
- Dominant language
- MDX
- Stars
- 1
- Forks
- 1
- PR merge metrics
- No merged PRs in 30d
Description
In clarity functions, the question mark is used to indicate optional or wrapped results, e.g. `to-consensus-buff?`
There should be code guidelines that suggest to not use question mark for boolean results, example [`has-duplicate-chars?`](https://github.com/hirosystems/recipes/blob/f0815d99ac9e812b3966aa1af835cc455039c2f3/recipes/check-for-duplicates.mdx)
Contributor guide
No contributing guide indexed for this repository
Assessment
This issue has not been assessed yet.