Package: gobject

Function gobject:type-is-value-type

Lambda List

gobject:type-is-value-type (gtype)

Arguments

gtype -- a g:type-t type ID

Return Value

True if gtype is a value type.

Details

Checks if gtype is a value type and can be used with the g:value-init function.

Examples

(g:type-is-value-type "gint") => T
(g:type-is-value-type "GObject") => T
(g:type-is-value-type "GEnum") => NIL    
 

See also

2024-12-8