Packages
snapd-glib
Snapd
Slot
@interface
attributes
connections
label
name
snap
Slot
get_attribute
get_attribute_names
get_connected_plugs
get_connections
get_interface
get_label
get_name
get_snap
has_attribute
has_attribute
Description:
[
Version
( since =
"1.3"
) ]
public
bool
has_attribute
(
string
name)
Check if this slot has an attribute.
Parameters:
this
a
Slot
.
name
an attribute name.
Returns:
true
if this attribute exists.