A convenience function to check if the given this is a particular type (ie wired, Wi-Fi, ppp, etc).
Checks the type property of the connection and matches that against
type
.
this |
the Connection |
type |
a setting name to check the connection's type against (like nm_setting_wireless_setting_name or nm_setting_wired_setting_name) |
true if the connection is of the given |