Function

NM-1.0NMutils_format_variant_attributesSince 1.8

  • Format attributes to a string.

    Parameters

    • attributes: { [key: string]: any } | GLib.HashTable<string, GLib.Variant<any>>

      a GLib.HashTable mapping attribute names to GLib.Variant values

    • attr_separator: number

      the attribute separator character

    • key_value_separator: number

      character separating key and values

    Returns string

    the string representing attributes, or null in case there are no attributes

    1.8