diff options
Diffstat (limited to 'debian/missing-sources/bourbon/app/assets/stylesheets/functions/_contains-falsy.scss')
-rw-r--r-- | debian/missing-sources/bourbon/app/assets/stylesheets/functions/_contains-falsy.scss | 25 |
1 files changed, 25 insertions, 0 deletions
diff --git a/debian/missing-sources/bourbon/app/assets/stylesheets/functions/_contains-falsy.scss b/debian/missing-sources/bourbon/app/assets/stylesheets/functions/_contains-falsy.scss new file mode 100644 index 0000000..d5ab01b --- /dev/null +++ b/debian/missing-sources/bourbon/app/assets/stylesheets/functions/_contains-falsy.scss @@ -0,0 +1,25 @@ +@charset "UTF-8"; + +/// Checks if a list does not contains a value. +/// +/// @access private +/// +/// @param {List} $list +/// The list to check against. +/// +/// @return {Bool} + +@function contains-falsy($list) { + @if $output-bourbon-deprecation-warnings == true { + @warn "[Bourbon] [Deprecation] `contains-falsy` is deprecated and will be " + + "removed in 5.0.0."; + } + + @each $item in $list { + @if not $item { + @return true; + } + } + + @return false; +} |