TypeScript API Documentation for GLIB
API Version: 2.0
Library Version: 2.86.4
Generated with TypeDoc via ts-for-gir v4.0.0-beta.40
Since 2.24
Scan for a single complete and valid GVariant type string in string.
string
The memory pointed to by limit (or bytes beyond it) is never accessed.
limit
If a valid type string is found, endptr is updated to point to the first character past the end of the string that was found and true is returned.
endptr
true
If there is no valid type string starting at string, or if the type string does not end before limit then false is returned.
false
For the simple case of checking if a string is a valid type string, see GLib.VariantType.string_is_valid.
a pointer to any string
the end of string
true if a valid type string was found
2.24
Scan for a single complete and valid GVariant type string in
string.The memory pointed to by
limit(or bytes beyond it) is never accessed.If a valid type string is found,
endptris updated to point to the first character past the end of the string that was found andtrueis returned.If there is no valid type string starting at
string, or if the type string does not end beforelimitthenfalseis returned.For the simple case of checking if a string is a valid type string, see GLib.VariantType.string_is_valid.