Package: gobject
Function gobject:type-check-instance-type
Lambda Listgobject:type-check-instance-type (instance gtype) ArgumentsReturn ValueTrue on success. Details Checks if instance is an instance of the type identified by gtype or derived.
This function should only be used in type implementations. Examples(g:type-check-instance-type (make-instance 'g:simple-action) "GObject") => T (g:type-check-instance-type (make-instance 'g:simple-action) "gboolean") => NIL (g:type-check-instance-type (make-instance 'g:simple-action) "GAction") => T | See also |
2024-12-8