Validation API
isWindow()
Validates that the passed arguments are instanceof Window.
- Accepts any arguments.
- Returns true if all provided arguments pass the validation, otherwise, returns false.
Example:
isWindow(window);
// true
isWindow(window, window);
// true
isWindow('window');
// false
isWindow(window, 'window');
// false