☰
Debian Codegraph
@
9.0.0+git20240724.107ded9+dfsg-1
/
/
sass-spec
/
spec
/
core_functions
/
content-exists
/
basic
/
input.scss
☽
☼
sass-spec/spec/core_functions/content-exists/basic/input.scss
code
plain
raw
Expat
2007-2014, The Sass Authors
debian/copyright
1
@mixin check-for-content {
2
content-exists: content-exists();
3
@if false {
4
@content;
5
}
6
}
7
8
.should-be-true {
9
@include check-for-content {
10
content-given: yes;
11
}
12
}
13
14
.should-be-false {
15
@include check-for-content;
16
}