You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
16 lines
364 B
16 lines
364 B
4 weeks ago
|
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;
|