IsBool should handle v:true and v:false
Open
- Dominant language
- Vim Script
- Stars
- 588
- Forks
- 41
- PR merge metrics
- No merged PRs in 30d
Description
`maktaba#ensure#IsBool(v:true)` currently throws a WrongType exception because the type of `v:true` and `v:false` is boolean rather than number. It seems to me that boolean values should be handled as well.
Additionally, the absence of `maktaba#value#IsBool` seems like a notable omission.
Contributor guide
Assessment
This issue has not been assessed yet.