fd22b0bf58
V2 (Laravel re-make)
16 lines
364 B
JavaScript
Vendored
16 lines
364 B
JavaScript
Vendored
var sameVendorPrefixes = require('../../vendor-prefixes').same;
|
|
|
|
function understandable(validator, value1, value2, _position, isPaired) {
|
|
if (!sameVendorPrefixes(value1, value2)) {
|
|
return false;
|
|
}
|
|
|
|
if (isPaired && validator.isVariable(value1) !== validator.isVariable(value2)) {
|
|
return false;
|
|
}
|
|
|
|
return true;
|
|
}
|
|
|
|
module.exports = understandable;
|