code: function isFunctor(x) {
      return x && x.map && (0, _object.instanceOf)(Function, x.map);
    }
docs: Resolves/normalizes a type name from either a string or a constructor.
  @function module:object.toTypeRef
  @param type {Function|String} - String or function representing a type.
  @returns {String}
  @todo write tests for this function.