def get_typeof name
      # on libvips before 8.5, property types must be searched first,
      # since vips_image_get_typeof returned built-in enums as int
      unless Vips::at_least_libvips?(8, 5)
        gtype = parent_get_typeof name
        return gtype if gtype != 0
      end

      Vips::vips_image_get_typeof self, name
    end
def get_typeof name
      # on libvips before 8.5, property types must be searched first,
      # since vips_image_get_typeof returned built-in enums as int
      unless Vips::at_least_libvips?(8, 5)
        gtype = parent_get_typeof name
        return gtype if gtype != 0
      end

      Vips::vips_image_get_typeof self, name
    end
Get the `GType` of a metadata field. The result is 0 if no such field
 exists.

 @see get
 @param name [String] Metadata field to fetch
 @return [Integer] GType