mirror of
https://github.com/idanoo/GoScrobble.git
synced 2024-11-25 09:55:15 +00:00
12 lines
255 B
JavaScript
12 lines
255 B
JavaScript
|
"use strict";
|
||
|
|
||
|
Object.defineProperty(exports, "__esModule", {
|
||
|
value: true
|
||
|
});
|
||
|
|
||
|
exports.default = (...rules) => {
|
||
|
const candidate = rules[0].value;
|
||
|
return rules.every(({ value }) => value === candidate);
|
||
|
};
|
||
|
|
||
|
module.exports = exports["default"];
|