summaryrefslogtreecommitdiff
path: root/_sass/bourbon/functions/_contains-falsy.scss
blob: c096fdb92c3bd800e5ceecb08ca8ab9368aa9936 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
@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;
}