Sha256: 112f44c32736bc3b7d3a35012126a5be5c7ba3047150e8161c5432f3f754a5a7

Contents?: true

Size: 483 Bytes

Versions: 131

Compression:

Stored size: 483 Bytes

Contents

@charset "UTF-8";

/// Checks if a list contains a value(s).
///
/// @access private
///
/// @param {List} $list
///   The list to check against.
///
/// @param {List} $values
///   A single value or list of values to check for.
///
/// @example scss - Usage
///   contains($list, $value)
///
/// @return {Bool}

@function contains($list, $values...) {
  @each $value in $values {
    @if type-of(index($list, $value)) != "number" {
      @return false;
    }
  }

  @return true;
}

Version data entries

131 entries across 124 versions & 21 rubygems

Version Path
middleman-core-4.5.1 fixtures/minify-css-app/source/stylesheets/bourbon/functions/_contains.scss
middleman-core-4.5.0 fixtures/minify-css-app/source/stylesheets/bourbon/functions/_contains.scss
middleman-core-4.4.3 fixtures/minify-css-app/source/stylesheets/bourbon/functions/_contains.scss
middleman-core-4.4.2 fixtures/minify-css-app/source/stylesheets/bourbon/functions/_contains.scss
middleman-core-4.4.0 fixtures/minify-css-app/source/stylesheets/bourbon/functions/_contains.scss
middleman-core-4.3.11 fixtures/minify-css-app/source/stylesheets/bourbon/functions/_contains.scss
middleman-core-4.3.10 fixtures/minify-css-app/source/stylesheets/bourbon/functions/_contains.scss
middleman-core-4.3.8 fixtures/minify-css-app/source/stylesheets/bourbon/functions/_contains.scss
middleman-core-4.3.7 fixtures/minify-css-app/source/stylesheets/bourbon/functions/_contains.scss
files.com-1.0.55 docs/vendor/bundle/ruby/2.5.0/gems/middleman-core-4.3.3/fixtures/minify-css-app/source/stylesheets/bourbon/functions/_contains.scss
middleman-core-4.3.6 fixtures/minify-css-app/source/stylesheets/bourbon/functions/_contains.scss
middleman-core-4.3.5 fixtures/minify-css-app/source/stylesheets/bourbon/functions/_contains.scss
middleman-core-4.3.4 fixtures/minify-css-app/source/stylesheets/bourbon/functions/_contains.scss
middleman-core-4.3.3 fixtures/minify-css-app/source/stylesheets/bourbon/functions/_contains.scss
middleman-core-4.3.2 fixtures/minify-css-app/source/stylesheets/bourbon/functions/_contains.scss
middleman-core-4.3.1 fixtures/minify-css-app/source/stylesheets/bourbon/functions/_contains.scss
middleman-core-4.3.0 fixtures/minify-css-app/source/stylesheets/bourbon/functions/_contains.scss
federalist-basic-report-theme-0.1.7 _sass/uswds/lib/functions/_contains.scss
uswds-jekyll-4.2.0 _sass/uswds/lib/functions/_contains.scss
middleman-core-4.3.0.rc.4 fixtures/minify-css-app/source/stylesheets/bourbon/functions/_contains.scss