18 lines
334 B
JavaScript
18 lines
334 B
JavaScript
'use strict';
|
|
|
|
const hasInterpolation = require('./hasInterpolation');
|
|
|
|
/**
|
|
* Check whether a keyframes name is standard
|
|
*
|
|
* @param {string} keyframesName
|
|
* @returns {boolean}
|
|
*/
|
|
module.exports = function isStandardSyntaxKeyframesName(keyframesName) {
|
|
if (hasInterpolation(keyframesName)) {
|
|
return false;
|
|
}
|
|
|
|
return true;
|
|
};
|