Validation API
isBool()
Validates that the passed arguments are boolean values.
- Accepts any arguments.
- Returns true if all provided arguments pass the validation, otherwise, returns false.
Example:
isBool(false);
// true
isBool(true, false);
// true
isBool(null);
// false
isBool('book');
// false
isBool(true, 1);
// false