cv-website

Personal website and CV
git clone https://git.in0rdr.ch/cv-website.git
Log | Files | Refs | Pull requests |Archive | README | LICENSE

_contains-falsy.scss (305B)


      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   @each $item in $list {
     14     @if not $item {
     15       @return true;
     16     }
     17   }
     18 
     19   @return false;
     20 }