UNPKG
postcss-perfectionist
Version:
latest (2.3.9)
2.3.9
2.3.8
2.3.7
2.3.6
2.3.5
2.3.4
2.3.3
2.3.2
Beautify CSS files.
github.com/ben-eb/perfectionist
dmitriy-lodyanov/perfectionist
postcss-perfectionist
/
dist
/
isSassVariable.js
11 lines
(9 loc)
•
257 B
JavaScript
View Raw
1
2
3
4
5
6
7
8
9
10
11
'use strict'
;
exports
.
__esModule
=
true
;
exports
.
default
= isSassVariable;
function
isSassVariable
(
_ref
) {
var
parent = _ref.
parent
;
var
prop = _ref.
prop
;
return
parent.
type
===
'root'
&& prop[
0
] ===
'$'
; }
module
.
exports
=
exports
[
'default'
];