Commit | Line | Data |
---|---|---|
2d3ca553 | 1 | @charset "UTF-8"; |
2 | ||
3 | /// Checks if a list does not contain any values. | |
4 | /// | |
5 | /// @argument {list} $list | |
6 | /// The list to check against. | |
7 | /// | |
8 | /// @return {boolean} | |
9 | /// | |
10 | /// @access private | |
11 | ||
12 | @function _contains-falsy($list) { | |
13 | @each $item in $list { | |
14 | @if not $item { | |
15 | @return true; | |
16 | } | |
17 | } | |
18 | ||
19 | @return false; | |
20 | } |