Validation API
hasStr()
Validates that the passed arguments are strings and not empty.
- Accepts any arguments.
- Returns true if all provided arguments pass the validation, otherwise, returns false.
Example:
hasStr('book');
// true
hasStr('book', '1');
// true
hasStr('');
// false
hasStr(1);
// false
hasStr('book', [], $('body'));
// false