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