Debian Codegraph @

sass-spec/spec/core_functions/content-exists/errors/inside-function/input.scss

raw
1 @function my-content-exists() {
2 @return content-exists(); // must be called within a mixin
3 }
4
5 @mixin uses-content-exists-indirectly {
6 .test {
7 error: my-content-exists();
8 }
9 @if false {
10 @content;
11 }
12 }
13
14 @include uses-content-exists-indirectly {
15 .content { exists: yep; }
16 }