Method

GIRepositoryUnionInfois_discriminated

since: 2.80

Declaration [src]

gboolean
gi_union_info_is_discriminated (
  GIUnionInfo* info
)

Description [src]

Return TRUE if this union contains a discriminator field.

Available since: 2.80

Return value

Type: gboolean

TRUE if this is a discriminated union, FALSE otherwise.