Skip to content

API Reference / @gtkx/runtime / getDeclaredPropertyName

Function: getDeclaredPropertyName()

getDeclaredPropertyName(object, accessor): string | undefined

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

The GObject name a class registered with registerClass installed an accessor under, or undefined when the accessor names no property the class declared itself.

Parameters

object

object

accessor

string

Returns

string | undefined

Released under the MPL-2.0 License.