GObject.ParamSpec.prototype.get_name

function get_name(): String {
    // Gjs wrapper for g_param_spec_get_name()
}
  

Get the name of a GObject.ParamSpec.

The name is always an "interned" string (as per GLib.intern_string). This allows for pointer-value comparisons.

Returns

the name of pspec.