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