@use "sass:math";
@use "sass:meta";

@function strip-unit($size) {
  @if meta.type-of($size) != "number" {
    @error "strip-unit given type '#{type-of($size)}' with value '#{$size}' instead of number";
  }

  @return math.div($size, $size * 0 + 1);
}
