UNPKG
perfectionist
Version:
latest (2.4.0)
2.4.0
2.3.1
2.3.0
2.2.0
2.1.4
2.1.3
2.1.2
2.1.1
2.1.0
2.0.0
1.4.1
1.4.0
1.3.1
1.3.0
1.2.2
1.2.1
1.2.0
1.1.0
1.0.2
1.0.1
1.0.0
Beautify CSS files.
github.com/ben-eb/perfectionist
ben-eb/perfectionist
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
, prop = _ref.
prop
;
return
parent.
type
===
'root'
&& prop[
0
] ===
'$'
; }
module
.
exports
=
exports
[
'default'
];