_contains-falsy.scss 305 B

1234567891011121314151617181920
  1. @charset "UTF-8";
  2. /// Checks if a list does not contains a value.
  3. ///
  4. /// @access private
  5. ///
  6. /// @param {List} $list
  7. /// The list to check against.
  8. ///
  9. /// @return {Bool}
  10. @function contains-falsy($list) {
  11. @each $item in $list {
  12. @if not $item {
  13. @return true;
  14. }
  15. }
  16. @return false;
  17. }