GObject.param_value_defaults

function param_value_defaults(pspec: GObject.ParamSpec, value: Any): Boolean {
    // Gjs wrapper for g_param_value_defaults()
}
  

Checks whether value contains the default value as specified in pspec.

pspec

a valid GObject.ParamSpec

value

a GObject.Value of correct type for pspec

Returns

whether value contains the canonical default for this pspec