mirror of
https://github.com/scratchfoundation/scratchx.git
synced 2024-11-29 02:55:53 -05:00
21 lines
305 B
SCSS
21 lines
305 B
SCSS
|
@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) {
|
||
|
@each $item in $list {
|
||
|
@if not $item {
|
||
|
@return true;
|
||
|
}
|
||
|
}
|
||
|
|
||
|
@return false;
|
||
|
}
|