This repository was archived by the owner on Apr 12, 2024. It is now read-only.
This repository was archived by the owner on Apr 12, 2024. It is now read-only.
toBoolean has inconsistent results for functions with 0 arguments and for functions with more than 0 arguments #5414
Closed
Description
I have a plnkr demonstrating the issue here:
http://plnkr.co/edit/MeivE2RRsRFKF3n05vwX?p=preview
To boolean should return consistent results for any function, no matter how many arguments it has.