Skip to content

API Reference / @gtkx/runtime / isReadableProperty

Function: isReadableProperty()

isReadableProperty(gtype, propertyName): boolean

Defined in: packages/runtime/dist/properties.d.ts:63

Whether the type declares a readable GObject property under propertyName, asking GObject itself rather than looking for a generated accessor, which codegen omits when a method shares the name.

Parameters

gtype

bigint

propertyName

string

Returns

boolean

Released under the MPL-2.0 License.