-
-
Notifications
You must be signed in to change notification settings - Fork 4.2k
Closed
Description
In the docs, it says Enumerable#any should return a boolean, but this isn't necessarily true. It returns the first truthy value returned or the last falsey value returned.
This is inconsistent with Array#some as well, which always returns true or false.
Is this correct functionality? Either way, I can make either a PR to the docs or this repo to correct the behavior/explanation.