Package: glib
Function glib:variant-is-object-path
Lambda Listglib:variant-is-object-path (string) Argumentsstring -- a string with a D-Bus object path Return ValueTrue if string is a D-Bus object path. Details Determines if a given string is a valid D-Bus object path. You should ensure that string is a valid D-Bus object path before passing it to the g:variant-new-object-path function. A valid object path starts with '/' followed by zero or more sequences of characters separated by '/' characters. Each sequence must contain only the characters "[A-Z][a-z][0-9]_". No sequence (including the one following the final '/' character) may be empty. | See also |
#2024-11-20