mirror of
https://github.com/idanoo/GoScrobble.git
synced 2024-11-26 18:35:14 +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"];
|