Validation API
isSet()
Validates that the passed arguments are of type Set.
- Accepts any arguments.
- Returns true if all provided arguments pass the validation, otherwise, returns false.
Example:
isSet(new Set([1, 2, 3]));
isSet(new Set([1, 2]), new Set([3, 4]));
// true
isSet(null);
isSet({});
isSet(new Set([1, 2]), []);
// false