Debian Codegraph @

debian/missing-sources/bourbon/app/assets/stylesheets/functions/_contains-falsy.scss

raw
1 @charset "UTF-8";
2
3 /// Checks if a list does not contains a value.
4 ///
5 /// @access private
6 ///
7 /// @param {List} $list
8 /// The list to check against.
9 ///
10 /// @return {Bool}
11
12 @function contains-falsy($list) {
13 @if $output-bourbon-deprecation-warnings == true {
14 @warn "[Bourbon] [Deprecation] `contains-falsy` is deprecated and will be " +
15 "removed in 5.0.0.";
16 }
17
18 @each $item in $list {
19 @if not $item {
20 @return true;
21 }
22 }
23
24 @return false;
25 }