Validation API
isCollect()
Validates that the passed arguments are instanceof HTMLCollection.
- Accepts any arguments.
- Returns true if all provided arguments pass the validation, otherwise, returns false.
Example:
isCollect(document.getElementsByTagName('div'));
// true
isCollect($('div ?'));
// false
isCollect(document.getElementsByTagName('div'), $('div ?'));
// false