docs: function(property, from, to, f) {
    ASSERT_ENABLED && assert(
        isDefinedAndNotNull(from) && isDefinedAndNotNull(to),
        'Both to and from values should be specified for interpolation');
    if (from === 'inherit' || to === 'inherit') {
      return nonNumericType.interpolate(from, to, f);
    }
    if (f === 0) {
      return from;
    }
    if (f === 1) {
      return to;
    }
    return getType(property).interpolate(from, to, f);
  }