code: func (obj *VersionedObjects) GetObjectKind() schema.ObjectKind {
  	last := obj.Last()
  	if last == nil {
  		return schema.EmptyObjectKind
  	}
  	return last.GetObjectKind()
  }
docs: // GetObjectKind implements Object for VersionedObjects, returning an empty ObjectKind
  // interface if no objects are provided, or the ObjectKind interface of the object in the
  // highest array position.