All Downloads are FREE. Search and download functionalities are using the official Maven repository.

gems.bourbon-4.3.4.app.assets.stylesheets.functions._contains-falsy.scss Maven / Gradle / Ivy

There is a newer version: 3.7.2
Show newest version
@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;
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy