a8m.where when collection is undefined
Open
- Dominant language
- JavaScript
- Stars
- 2.9k
- Forks
- 319
- PR merge metrics
- No merged PRs in 30d
Description
When collection is undefined on where filter, we got:
"TypeError: Cannot read property 'filter' of undefined"
A simple check solve the problem.
if(!collection)) { return false; }
Contributor guide
No contributing guide indexed for this repository
Assessment
This issue has not been assessed yet.