if-eslit-at-rule-decloration.scss 356 B

123456789101112
  1. @function _normalize-include($section) {
  2. // Check if $section is in the $include list.
  3. @if index($_normalize-include, $section) {
  4. @return true;
  5. }
  6. // If $include is set to (all), make sure $section is not in $exclude.
  7. @else if not index($_normalize-exclude, $section) and index($_normalize-include, all) {
  8. @return true;
  9. }
  10. @return false;
  11. }