@charset "utf-8";

@mixin last($hasChild: false) {

  @if ($hasChild) {

    &:last-child {
      @content;
    }
  }

  @else {

    &:last-of-type {
      @content;
    }
  }
}
