mirror of
https://github.com/OliveTin/OliveTin
synced 2025-12-18 12:05:32 +00:00
16 lines
315 B
JavaScript
16 lines
315 B
JavaScript
import hasInterpolation from './hasInterpolation.mjs';
|
|
|
|
/**
|
|
* Check whether a keyframes name is standard
|
|
*
|
|
* @param {string} keyframesName
|
|
* @returns {boolean}
|
|
*/
|
|
export default function isStandardSyntaxKeyframesName(keyframesName) {
|
|
if (hasInterpolation(keyframesName)) {
|
|
return false;
|
|
}
|
|
|
|
return true;
|
|
}
|