Sass entity check library.
Sassy-exists documentation
Sassy-exists provides alternative syntax for:
variable-exists($name)
global-variable-exists($name)
function-exists($name)
mixin-exists($name)
feature-exists($name)
With Sassy-exists it becomes:
exists($name, $type)
Where $type
values are:
variable
global-variable
mixin
function
feature
Git:
git clone https://github.com/iamskok/sassy-exists ./
Bower:
bower install sassy-exists --save-dev
Sassy-exists relies on feature-detection
which is avaliable in:
- Ruby Sass <=
v3.3
- LibSass <=
v3.1