Package: gobject
Function gobject:type-is-a
Lambda Listgobject:type-is-a (gtype is-a-type) ArgumentsReturn ValueTrue if the gtype argument is a is-a-type. Details If the is-a-type argument is a derivable type, check whether the gtype argument is a descendant of is-a-type. If is-a-type is an interface, check whether gtype conforms to it. Examples(g:type-is-a "gboolean" "gboolean") => T (g:type-is-a "GBytes" "GBoxed") => T (g:type-is-a "GApplicationFlags" "GFlags") => T (g:type-is-a "GApplication" "GObject") => T (g:type-is-a "GParamBoolean" "GParam") => T | See also |
2024-12-8