@function value-of($value) {
  @if type-of($value) == 'number' and not unitless($value) {
    @return $value / ($value * 0 + 1);
  }
  @return $value;
}

// alias
@function strip-unit($value) {
  @return value-of($value);
}
