projects
/
dotfiles
/
.git
/ blob
commit
grep
author
committer
pickaxe
?
search:
re
5a036c3cefd4c1bf60f06f05e3c2ec22525fed5d
[dotfiles/.git]
/
isKeyframeRule.js
1
/* @flow */
2
"use strict";
3
4
/**
5
* Check if a rule is a keyframe one
6
*/
7
module.exports = function(rule /*: postcss$rule*/) /*: boolean*/ {
8
const parent = rule.parent;
9
10
return parent.type === "atrule" && parent.name.toLowerCase() === "keyframes";
11
};