-
-
Notifications
You must be signed in to change notification settings - Fork 87
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
What about a RA.isNotEmptyArray ? #279
Comments
Yes, I have the same usecase in the current codebase I'm working on. But I'd go for a following naming: Why ? You can read more about why here: #40 #40 is also dealing with You can own both this and #40 issue and make them realize ;] |
@guillaumearm I've assigned this issue to v2.4.0 milestone. Feel free to provide PR. |
Yup, i prefer the 'isNonEmpty' terminology too. PR coming tommorow ;-) and I would like to say Thank you for your work. |
Thanks, and you'll be the next one to make it even better ;] Please make two separate PRs for |
And what do you think about |
@guillaumearm let's continue object discussion here #283 |
according to char0n#279, checking if something is array is simpler then checking if an value is empty.
according to char0n#279, checking if something is array is simpler then checking if an value is not empty.
From some reason I don't see |
'cause it's |
Of course ;] |
Hello everyone,
Frequently, I implement myself a
isNotEmptyArray
function :I think I'm not alone to doing that, maybe I could make a PR for adding this function ?
We should add
isEmptyArray
,isEmptyObject
andisNotEmptyObject
too.The text was updated successfully, but these errors were encountered: